installer laravel code example

Example 1: install laravel

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

Example 2: laravel installation

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

Example 3: laravel install

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

Example 4: laravel installation

composer global require laravel/installer

Example 5: laravel new project

laravel new blog

Example 6: laravel installer version

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

Tags:

Php Example