🧪 Laravel MCQ Quiz Hub

Laravel MCQ (Multiple Choice Question) Set 1

Choose a topic to test your knowledge and improve your Laravel skills

1. Who Created Laravel?




2. What is the use of .env file in Laravel?




3. Command to start Laravel Application?




4. Command to install laravel project?




5. By default laravel project runs on which PORT?




6. CLI Command to migrate in Laravel project?




7. Command to get the route list in Laravel?




8. CLI Command to create controller in laravel?




9. Command to make migration in laravel?




10. Command to check the status of migration in laravel application?




11. Command to roll back migration operation in laravel?




12. Command to rollback all migrations operations?




13. In which file we can set database connections?




14. Can laravel application support caching?




15. What is laravel?




16. Command to check the current version of the Laravel Framwork?




17. Command to check the current version of the Laravel Framwork?




18. Command to create middleware in laravel application?




19. What are the ways to get the data from database in laravel?




20. Full form of ORM in laravel?




21. Laravel is based on which design pattern?




22. which command is used to clear the cache in laravel?




23. In which folder .htaccess file is located in laravel?




24. In which directory robots.txt file is located?




25. Which command is used to cache configuration in laravel?




26. Command to enable maintenance mode in laravel?




27. Command to Disable Maintenance Mode in laravel?




28. The vendor directory contains in laravel?




29. Method to determine if the user is authenticated?




30. Method to logout authenticated user in laravel?




31. Method to logout authenticated user from other devices in laravel?




32. Method to create Hash password in laravel?




33. Which method returns the average value of a given key ?




34. Bootstrap directory in Laravel is used to




35. Which artisan command is used to remove the compiled class file.




36. Which artisan command is used to remove the compiled class file.




37. Which method breaks the collection into multiple, smaller collections of a given size




38. Artisan command to flush the application cache:




39. The vendor directory contains




40. For what do the .env is used?




41. Which directory contain “robot.txt” file ?




42. Interpolation of variable in laravel done using




43. What is the HTTP Status Code for your website. When it is down for maintenance.




44. __() in laravel used for




45. Where do we need to set database connection in Laravel?




46. What is the minimum PHP version required to install Laravel 5.3?




47. How to set a session data in Laravel?




48. Who developed Laravel?




49. Who developed Laravel?




50. How to create a controller in laravel by cmd?