🧪 Yii PHP web application framework MCQ Quiz Hub

PHP Laravel MCQ

Choose a topic to test your knowledge and improve your Yii PHP web application framework skills

1. Which of the following is true about Laravel?




2. ORM (Object Relational Mapper) and ActiveRecord implementation called?




3. ____________ acts as a bridge between a request and a response.




4. How many types of Middleware in Laravel?




5. _____________ can be defined as a class of elements in which each element has a unique name to that associated class.




6. In the MVC framework, the letter 'C' stands for?




7. Cookie can be created by global cookie helper of Laravel.




8. How many arguments cookie() method will take?




9. Which method will automatically convert the array into appropriate json response?




10. Which version introduces the concept of using Blade?




11. Command line interface used in Laravel is called?




12. Laravel uses ___________ to connect to an existing session and general-purpose cache




13. Which command is used to create Middleware?




14. The _______________ will run on every HTTP request of the application




15. Which keyword allows the developers to shorten the namespace?




16. Execute the below command to create a new controller called? php artisan make:controller UriController –plain




17. The cookie can be attached to the response using the ?




18. By default, all cookies generated by Laravel are encrypted and signed so that they can not be modified or read by the client.




19. In MVC framework, the letter "V" stands for Value.




20. Laravel uses the Blade @extends directive for defining the child elements