Reputation: 733
I have been using laravel installer
to install laravel 5.2
, now suddenly it is automatically installing version 5.3
.
Is there way to configure laravel installer to install only version 5.2.
I installed it globally and found this line
$app = new Symfony\Component\Console\Application('Laravel Installer', '1.3.3');
in /.composer/vendor/bin/laravel
, but stacked here to configure it
Upvotes: 2
Views: 2307
Reputation: 2077
You can add 5.2
option to your command.
laravel new project --5.2
This option is added at installer
version 1.3.4
https://github.com/laravel/installer/blob/master/src/NewCommand.php#L29
Upvotes: 3
Reputation: 346
If you try it with composer this is the code:
composer create-project --prefer-dist laravel/laravel blog "5.2.*"
I found it in laravel 5.2 documentation Laravel 5.2 docs
Upvotes: 2