This laravel installer is an alternative to the Laravel installer and much like the Symfony installer lets you choose a specific version to install.
Remember to remove your old laravel installer to prevent conflicts
composer g remove laravel/installer
composer g require artesaos/laravel-installer
This installer works like the default laravel installer. The difference is you can choose the Laravel Version version.
laravel new name version
The option --interactive
is available. It will ask for packages to require on your project
Replace name
for your project name and version
with a valid laravel version, in any format supported by composer.
Some examples:
laravel new blog 9.3.1
laravel new blog ~5.5.0
laravel new blog ^7.1
laravel new blog master
You can use the help command for instructions:
laravel help new
You can view the latest changes here