Laravel Basics
Why Use Laravel?
MVC Concepts
Commands & Setup
Laravel Terminology
100

In which year was Laravel first released?"

2011

100

Name one advantage of using a framework for web development.

Increased productivity, improved maintainability, enhanced security, scalability, or reduced development costs.

100

What does MVC stand for?"


Model-View-Controller

100

What is the command to create a new Laravel project using Composer?

composer create-project laravel/laravel project-name

100

"What is Composer used for in Laravel?"

Dependency management

200

"Who created Laravel?"

Taylor Otwell

200

Why is Laravel considered scalable?"

It can handle millions of requests efficiently.

200

What is the role of the Model in MVC?

The Model handles the data and business logic of the application.

200

"How do you start a local development server in Laravel?"

php artisan serve

200

What does the term 'Artisan' refer to in Laravel?

A command-line interface that provides helpful commands for development

300

"Laravel was originally built on top of which other PHP framework?"

Symfony

300

True or False: Laravel is only for expert developers."

False (It is a progressive framework, easy for beginners and robust for experts.)

300

In MVC, which component is responsible for rendering HTML views?

The View

300

What is the purpose of the composer global require laravel/installer command?"

It installs the Laravel installer globally on the system.

300

surrrrrrrrrpriseeeeeeeeeeee

Freee Points +200

400

"True or False: Laravel is not open-source."

False (It is open-source)

400

How does Laravel help reduce development costs?"

By providing built-in tools and pre-made functionalities that save time and effort.

400

What is the benefit of separating business logic from presentation logic in MVC?"

It allows developers and designers to work on their areas independently, making code easier to maintain and modify.

400

What is the command to navigate to the Laravel project folder and start the development server?"

cd project-folder then php artisan serve

400

surrrrrrrrrpriseeeeeeeeeeee

-200 points

500

"What is the primary goal of Laravel development?"


    •  To enhance the accessibility of web applications through an elegant and expressive syntax.
500

Laravel is known as a _____ framework, meaning it's suitable for both beginners and experienced developers.

Progressive

500

Explain what the Controller does in an MVC framework."

The Controller manages user requests, interacts with the Model, and sends data to the View.

500

Which command would you use to create a new Laravel project with the Laravel installer?"

laravel new project-name

500

Explain one major difference between Laravel 4 and Laravel 5.

Laravel 5 introduced a new folder structure and tools like Elixir (for asset compilation) and Scheduler (for task scheduling).