0
0
Laravelframework~5 mins

First Laravel application - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Laravel in simple terms?
Laravel is a tool that helps you build websites easily by giving you ready-made parts and rules to follow, like building blocks for a house.
Click to reveal answer
beginner
What command do you use to create a new Laravel project?
You use composer create-project laravel/laravel project-name to start a new Laravel website project.
Click to reveal answer
beginner
What file do you edit to set up your website's homepage route in Laravel?
You edit the routes/web.php file to tell Laravel what to show when someone visits your homepage.
Click to reveal answer
beginner
How do you start the Laravel development server to see your app in the browser?
Run php artisan serve in your project folder, then open http://localhost:8000 in your browser.
Click to reveal answer
beginner
What is the purpose of the resources/views folder in Laravel?
It holds the files that decide what your website pages look like, like the design and text visitors see.
Click to reveal answer
Which command creates a new Laravel project?
Anpm init laravel myapp
Blaravel new project
Cphp artisan new myapp
Dcomposer create-project laravel/laravel myapp
Where do you define routes for your Laravel application?
Aresources/views
Broutes/web.php
Capp/Http/Controllers
Dpublic/index.php
What command starts the Laravel development server?
Aphp artisan serve
Bnpm start
Claravel serve
Dphp serve
Which folder contains the view files in Laravel?
Aroutes
Bapp/Models
Cresources/views
Dstorage
What does the php artisan command do?
ARuns Laravel helper commands
BStarts the database
CCompiles CSS files
DCreates a new Laravel project
Explain the steps to create and run your first Laravel application.
Think about setup, routing, running, and viewing your app.
You got /4 concepts.
    Describe the role of routes and views in a Laravel application.
    Consider how Laravel connects web addresses to what users see.
    You got /3 concepts.