PHP & Laravel
PHP & Laravel
2. Explain the concept of a session in PHP. How do you start and destroy a session?
7. Explain Laravel's Eloquent ORM and how it differs from raw SQL queries.
12. What are traits in PHP and how are they useful?
15. Explain the concept of queues in Laravel and when you would use them.
18. Can you explain what the Repository Pattern is in Laravel and its benefits?
20. What is the difference between Laravel Sanctum and Laravel Passport?
21. What are the main differences between PHP 7 and PHP 8?
22. How can you optimize the performance of a Laravel application?
23. Explain the use of queues and jobs in Laravel for handling asynchronous tasks.
25. What is Laravel Nova, and how does it differ from Laravel Horizon?
26. What are events and listeners in Laravel and how do you use them?
31. What are the differences between GET, POST, PUT, and DELETE methods in HTTP?
34. What are jobs and queues in Laravel, and how can you manage them?
35. How does Laravel handle caching, and what are its benefits?
36. How can you create and use custom helpers in Laravel?
37. Explain the use of Laravel Facades and how they differ from dependency injection.
39. What are migrations in Laravel, and how do you use them?
40. How do you manage relationships between tables in Laravel (hasOne, hasMany, etc.)?