Ubuntu - Install Laravel Installer Through Composer
Steps
sudo apt-get install php-zip
composer global require "laravel/installer"
Add composer's system-wide vendor bin directory to your path by adding this line to your .bashrc
.
PATH="$HOME/.config/composer/vendor/bin:$PATH"
$HOME/.composer/vendor/bin
Testing
You should now be able to create a new Laravel project by just using the command:
laravel new my-project
References
Last updated: 28th May 2019
First published: 4th October 2018
First published: 4th October 2018