Test yourself
Laravel and PHP quizzes
5 free quizzes with 76 multiple-choice questions on Laravel and PHP. Every answer is explained, and your best score is saved in this browser. No sign-up.
You have taken of 5 quizzes.
- Laravel basics quiz Routing, Blade, validation, middleware and Artisan: the things you use every day in Laravel. Each answer comes with a short explanation. 15 questions
- Laravel Eloquent quiz Relationships, eager loading, mass assignment, scopes, casts and soft deletes. These come up in every Laravel project and most interviews. 15 questions
- PHP 8 features quiz What does this code print? Questions on the features added in PHP 8.0 to 8.3: match, nullsafe, named arguments, enums, readonly properties and more. 16 questions
- PHP and Laravel security quiz SQL injection, XSS, CSRF, passwords, uploads and authorization: the mistakes that get PHP sites hacked, and how Laravel helps you avoid them. 15 questions
- Laravel deployment quiz The questions that matter when a Laravel app goes live: document root, .env, permissions, cron, queues, caching and reading the logs. Many apply to shared hosting. 15 questions