install laravel installer code example

Example 1: laravel 7 install

composer create-project --prefer-dist laravel/laravel:^7.0 blog

Example 2: install laravel

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

Example 3: laravel install by composer

composer create-project --prefer-dist laravel/laravel blog 
cd example-app
php artisan serve

Example 4: install laravel on windows 10

composer global require laravel/installer

Example 5: laravel 4 installer

composer global require "laravel/installer=~4.0"

Example 6: laravel installer version

Laravel Installer Version Check 
laravel -version
ex. laravel -version
Result : Laravel Installer 4.1.1

Tags:

Php Example