6 min read
Eloquent Relationships: How Eager Loading Works
How Laravel eager loading actually works, when with() stops helping, and how to detect and fix relationship queries that quietly multiply per row.

Notes on building web applications: Next.js, Laravel, databases, and the automation around them.
6 min read
How Laravel eager loading actually works, when with() stops helping, and how to detect and fix relationship queries that quietly multiply per row.

8 min read
Laravel middleware controls every request your app handles. Learn to write, register, and order middleware for auth, throttling, and request mutation.

8 min read
Laravel caching strategies that cut database load: Redis drivers, cache tags, atomic locks, and stampede protection with real code.

6 min read
Master Laravel validation: bail, custom rules, form requests, and clean 422 API errors, with code examples that keep bad data out for good.

6 min read
Master the Laravel service container: bindings, singletons, contextual injection, and interface resolution to write testable Laravel code.

7 min read
Laravel queue best practices for production: retries, backoff, timeouts, idempotency, and failed job handling that keeps background jobs reliable.