Home > PHP & Programming > Quizzes > PHP Laravel Practice Test
PHP Laravel Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 12% Most missed: “______________ acts as a bridge between a request and a response.”

Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern and based on Symfony.

PHP Laravel Practice Test
Time left 00:00
20 Questions

1. Which command is used to create Middleware?
2. Which method will automatically convert the array into appropriate json response?
3. Command line interface used in Laravel is called?
4. ______________ acts as a bridge between a request and a response.
5.
php artisan make:controller UriController –plain
"
6. By default, all cookies generated by Laravel are encrypted and signed so that they can not be modified or read by the client.
7. How many arguments cookie() method will take?
8. Which keyword allows the developers to shorten the namespace?
9. Laravel uses ___________ to connect to an existing session and general-purpose cache
10. The _______________ will run on every HTTP request of the application
11. Cookie can be created by global cookie helper of Laravel.
12. Which version introduces the concept of using Blade?
13. The cookie can be attached to the response using the ?
14. In MVC framework, the letter V" stands for Value. "
15. Which of the following is true about Laravel?
16. In the MVC framework, the letter 'C' stands for?
17. ________________ can be defined as a class of elements in which each element has a unique name to that associated class.
18. ORM (Object Relational Mapper) and ActiveRecord implementation called?
19. How many types of Middleware in Laravel?
20. Laravel uses the Blade @extends directive for defining the child elements