creating a laravel project with composer

PHP
composer create-project laravel/laravel example-app

cd example-app

php artisan servecomposer create-project --prefer-dist laravel/laravel blog
Source

Also in PHP: