Categories
Laravel PHP

Laravel’s PHAR Installer on Windows

Outdated Information. This was posted February 2014. Laravel seems to have moved away from the pre-packaged laravel.phar installation method. Install docs for Laravel 4.2 here

In addition to cloning from Git and installing via Composer Laravel can now be installed via a PHAR file.

The documentation is currently a little Linux centric.

On Windows download the laravel.phar file, open a command prompt in its location and run:

[code]
php laravel.phar new my-project-name
[/code]

That will create a new directory called my-project-nameĀ and install Laravel in there. This is a lot faster thanĀ installing via composer.

2 replies on “Laravel’s PHAR Installer on Windows”

This would be AWESOME if the link to the laravel.phar didn’t just return:
“Whoops, looks like something went wrong.”

I guess I’ll check again tomorrow… *sigh*

Leave a Reply

Your email address will not be published. Required fields are marked *