Complete the code to create a new Laravel project using Composer.
composer create-project [1] my-laravel-appThe command composer create-project laravel/laravel my-laravel-app creates a new Laravel project named my-laravel-app.
Complete the command to install Laravel globally using Composer.
composer global require [1]The command composer global require laravel/installer installs the Laravel installer globally, allowing you to create projects easily.
Fix the error in the command to create a new Laravel project named 'blog'.
composer create-project laravel/laravel [1]The project folder name should be lowercase and simple like blog to avoid issues on some systems.
Fill both blanks to run the Laravel development server in the project directory.
cd [1] && php [2] serve
You first change directory to your Laravel project folder, then run php artisan serve to start the development server.
Fill all three blanks to update Composer dependencies and clear Laravel cache.
composer [1] && php artisan [2] && php artisan [3]
Run composer update to update dependencies, then clear cache and config with artisan commands.