Skip to content
Code by Pawpu

Backend

PHP / Laravel

Laravel delivery patterns, PHP typing, queues, and the mistakes that show up under load.

PHP · Laravel · 0 published · 20 in the review queue. Written by Al Beltran.

  1. No reviewed articles in this pillar yet. The queue below is the plan.

Review queue

Planned notes stay unpublished until they are written and reviewed. Titles are listed so the topic map is complete. They are not pages.

  1. Laravel Interview Questions, With the Reasoning

    Container, Eloquent, queues, and authorization — scored as production judgment, not framework trivia.

    interview · mixed · high priority

  2. PHP Interview Questions, With the Reasoning

    Types, requests, errors, and the language behavior that still surprises people who only write Laravel.

    interview · mixed · high priority

  3. Eloquent N+1: with(), then Stop Querying in the View

    Eager load, constrain, or write a query. Do not discover relations in a Blade loop.

    troubleshooting · intermediate · medium priority

  4. Laravel Queues and Failed Jobs You Can Replay

    Backoff, idempotency, and the failed_jobs table that nobody looks at.

    architecture · intermediate · medium priority

  5. The Laravel Container: Bindings That Keep Tests Honest

    Interfaces, contextual binding, and the facade that hid a singleton you cannot fake.

    educational · intermediate · medium priority

  6. PHP Types in Practice: Scalars, Unions, and the Boundary

    What PHP 8 actually gives you, and why request arrays still need explicit casts.

    educational · intermediate · medium priority

  7. Policies vs Gates: Put Authorization Next to the Model

    When a policy method is clearer than a gate string scattered across controllers.

    comparison · intermediate · medium priority

  8. Laravel Migrations the Expand/Contract Way

    Additive deploys, dual writes, and the migration that locked production for 20 minutes.

    architecture · intermediate · medium priority

  9. Composer and Autoload: The Supply Chain You Install

    Lockfiles, scripts, and the package that ran code on install.

    educational · intermediate · medium priority

  10. Form Requests as the HTTP Contract

    Authorize + rules in one place. Controllers should receive already-valid input.

    educational · intermediate · medium priority

  11. Laravel Events vs Jobs: Side Effects vs Work

    Events notify. Jobs do work. Mixing them is how you double-send email.

    comparison · intermediate · medium priority

  12. PHP Sessions and CSRF for People Who Ship HTML Forms

    Cookie flags, same-site, and the API that should not use cookie sessions by accident.

    educational · intermediate · medium priority

  13. HTTP Tests in Laravel That Assert the Contract

    Acting as a user, asserting JSON, and not mocking Eloquent into fiction.

    educational · intermediate · medium priority

  14. config() vs env() After Bootstrap

    Why env() in a random class breaks config:cache, and what belongs in config files.

    troubleshooting · intermediate · medium priority

  15. PHP Exceptions: What to Catch, What to Report

    The handler, the report, and the catch that turns a deploy bug into a silent empty page.

    educational · intermediate · medium priority

  16. API Resources as a Serialization Boundary

    Stop returning Eloquent models as JSON. Shape the payload on purpose.

    architecture · intermediate · medium priority

  17. When Laravel Horizon Is Worth Running

    Metrics, balancing, and the Redis bill you accept for visibility.

    comparison · intermediate · medium priority

  18. PHP File Uploads: Names, Types, and Storage

    Never trust the client filename. Store outside the docroot unless you have a reason.

    educational · intermediate · medium priority

  19. Laravel Multi-Tenancy: Database, Schema, or Row

    Isolation vs cost. The query you forgot to scope is the incident.

    architecture · senior · medium priority

  20. PHP Performance: OPcache First, Then the Query

    What OPcache actually does, and why a missing index still wins the profile.

    problem-solving · intermediate · medium priority