create new laravel project with composer 2 code example Example: laravel new project composer create-project --prefer-dist laravel/laravel blog