create laravel project with composer code example
Example 1: create laravel project
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
Example 2: laravel install
composer global require laravel/installer
Example 3: laravel new project
laravel new blog
Example 4: composer create project laravel with version
composer create-project laravel/laravel=4.1.27 your-project-name --prefer-dist
Example 5: laravel documentation
composer create-project --prefer-dist laravel/laravel blog