CheatsheetKit

Stack Bundle · Mid

PHP / Laravel Pack

PHP 8 idioms, Laravel architecture, Eloquent and web-application questions.

Modern PHP and Laravel: Eloquent, queues, middleware, and the framework questions.

Questions
360
Topics
20
Pages
378

Get the PHP / Laravel Pack — $9 One-off. Delivered as a PDF by email the moment payment clears.

Prices shown are a USD base. Your local-market price is calculated at checkout in your own currency, plus any local sales tax.

What is inside

20 chapters, in the order the interviews tend to ask them:

  1. Types, unions and modern type declarations
  2. Classes, traits and object composition
  3. References, values and copy semantics
  4. Exceptions and error handling
  5. Composer autoloading and dependency management
  6. PSR standards and project layout
  7. The Laravel request lifecycle
  8. Routing and middleware
  9. The service container and dependency injection
  10. Eloquent and query scopes
  11. Eloquent relationships and eager loading
  12. Validation and form requests
  13. Queues, jobs and events
  14. Testing with PHPUnit and Pest
  15. Performance and caching with Redis
  16. Migrations and schema design
  17. Facades, helpers and the fluent layer
  18. Blade templates and view composition
  19. Artisan commands and scheduled tasks
  20. Security in a Laravel application

How the answers are built

Each chapter opens with the checklist the question is really testing. A few from this pack:

Questions this pack covers

  1. What does a union type actually guarantee at runtime?
  2. How does a nullable type differ from a default value of null?
  3. What problem does a trait actually solve?
  4. How does a method from a trait lose to one in the class?
  5. When does PHP copy an array that was passed to a function?
  6. How do you pass an array by reference deliberately?
  7. What separates an exception from an error?
  8. How does a custom exception class help the caller?

Each one is answered in full in the pack, with the reasoning written out rather than a bullet list.

Related packs

About this pack

How many questions?
360, spread across 20 topics, written out in full across 378 pages.
Do the answers just list keywords?
No. Each answer is written as prose, because that is what you have to reproduce when someone asks you the question.
How do I get it?
Pay once and the PDF arrives by email immediately, with a signed download link.
Can I get it refunded?
Yes, if it is not what you expected. See the refund policy.