laravel installer version code example

Example 1: install laravel

composer create-project --prefer-dist laravel/laravel blog "6.*"

Example 2: laravel installer

composer global require laravel/installer

Example 3: laravel install

composer create-project laravel/laravel <example-app>

Example 4: laravel 8 install

composer create-project --prefer-dist laravel/laravel blog

Example 5: insall laravel

composer global require laravel/installer 
laravel new blog

Example 6: laravel install

composer create-project --prefer-dist laravel/laravel blog "5.6.*"

Tags:

Php Example