Dependency Management
What tool in PHP helps manage project dependencies by declaring and managing required libraries?
- Doctrine
- Composer
- Symfony
- Laravel
- DependManager
Object Equality
Which operator should be used in PHP when checking if both the value and type of two variables are equal?
- ==
- =
- ===
- equals()
- isEqual
Class Inheritance
In PHP, what keyword is used to inherit properties and methods from another class?
- implement
- extends
- uses
- inherits
- inheritence
Interface Implementation
Which keyword is used in PHP to specify that a class will adhere to the contract defined by an interface?
- extends
- implement
- implements
- inherit
- interface
Magic Method: Constructor
Which magic method in PHP is automatically called when a new object is created from a class?
- __destruct()
- __construct()
- __init()
- __new()
- __autoConstruct()
Object Relational Mapper
What does ORM stand for in the context of PHP frameworks like Laravel?
- Object Runtime Manager
- Object Relational Mapping
- Object Resource Management
- Object Rendering Model
- Objection Relation Manager
Middleware Purpose
What is the primary purpose of middleware in a PHP framework like Laravel?
- To define database schemas
- To manage user authentication
- To inspect and filter HTTP requests
- To render HTML templates
- To handle database migrations
Laravel's Templating Engine
What is the name of the built-in templating engine in the Laravel framework?
- Twig
- Blade
- Smarty
- Volt
- Templater
Database Migrations
What are migrations primarily used for in a Laravel project?
- Generating random data for testing
- Managing and versioning database schema changes
- Creating user interfaces
- Defining API endpoints
- Executing SQL queries
Artisan Tool
What is the purpose of Artisan in the Laravel framework?
- A code editor
- A debugging tool
- A command-line interface
- A database management system
- A testing framework