Installer and new project

Install Laravel with composer (one time only)

composer global require "laravel/installer=~1.3.5"

Modify hosts file

Add the following path, where yyy is your user name of your home folder.
You can do that in Linux by using something like:

sudo nano ~\.bashrc

and add the following line at the bottom of that file. The path is only first activate in a new terminal window.

export PATH="/home/yyy/.config/composer/vendor/bin/:$PATH"

New Laravel project

Create a new Laravel skeleton project at the root of folder/directory where you would like to have this project.
After creation a new folder is created with the project name you've entered.

laravel new project-name
Last update: Tue, 13 Sep 2022 14:32:15