laravel get started code example
Example 1: install laravel globally
composer global require laravel/installer
Example 2: install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 3: laravel 8 new project
composer create-project --prefer-dist laravel/laravel blog
Example 4: insall laravel
composer global require laravel/installer
laravel new blog
Example 5: laravel new project
laravel new blog