0
0
Laravelframework~10 mins

Laravel Breeze starter kit - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to install Laravel Breeze using Composer.

Laravel
composer require [1]
Drag options to blanks, or click blank then click option'
Alaravel/breeze
Blaravel/ui
Claravel/sanctum
Dlaravel/jetstream
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'laravel/ui' which is a different starter kit.
Using 'laravel/jetstream' which is a more complex starter kit.
2fill in blank
medium

Complete the command to install Breeze scaffolding after requiring the package.

Laravel
php artisan [1]:install
Drag options to blanks, or click blank then click option'
Ainstall
Bbreeze
Cui
Dmake
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'php artisan make breeze:install' which is invalid.
Using 'php artisan ui breeze:install' which is for a different package.
3fill in blank
hard

Fix the error in the command to run migrations after installing Breeze.

Laravel
php artisan [1]
Drag options to blanks, or click blank then click option'
Adb:migrate
Bmigrate:run
Cmigrations
Dmigrate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'migrate:run' which is not a valid Artisan command.
Using 'db:migrate' which is a command in other frameworks.
4fill in blank
hard

Fill both blanks to complete the command to install NPM dependencies and build assets.

Laravel
npm [1] && npm [2]
Drag options to blanks, or click blank then click option'
Ainstall
Brun dev
Crun build
Dupdate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'npm update' instead of 'npm install'.
Using 'npm run build' instead of 'npm run dev' for development.
5fill in blank
hard

Fill all three blanks to complete the code snippet that sets up a route for the Breeze home page.

Laravel
Route::get('/[1]', function () {
    return view('[2]');
})->middleware('[3]');
Drag options to blanks, or click blank then click option'
Adashboard
Bwelcome
Cauth
Dhome
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'welcome' view which is default Laravel but not Breeze dashboard.
Using 'home' path which is not default in Breeze.
Omitting the 'auth' middleware which secures the route.