Posts tagged "Laravel"
Essays, field notes, and engineering write-ups by Al Amin Ahamed covering Laravel — practical patterns, gotchas from production code, and lessons learned shipping real systems. Topics include architecture decisions, performance tuning, debugging stories, and integration notes you can apply directly to your own Laravel work.
· 10 min read
Laravel Queues at Scale: Lessons from 10 Million Jobs
Patterns and pitfalls I've learned running Laravel queues in production — from connection pooling and job chunking to dead-letter handling and zero-downtime deployments.
· 8 min read
Hunting N+1 Queries in Laravel: Tools, Strict Mode, and Fixes
How to find N+1 queries with Telescope, Debugbar, and preventLazyLoading() — and the eager-loading patterns that fix them, including the polymorphic gotcha.
· 9 min read
10 Eloquent Query Optimizations, in Order of Effectiveness
A systematic optimization checklist for Eloquent — select(), chunk(), chunkById(), withCount(), pluck(), subquery selects, and when to bypass the model layer entirely.
· 10 min read
Six Redis Patterns Every Laravel App Eventually Needs
Cache, sessions, queues, rate limiting, locks, pub/sub — the Redis patterns I use in production Laravel apps, with the trade-offs and the failure modes.
· 9 min read
Building a Dark Design System with Tailwind CSS v4
How I designed the D1 "Dark Precision" system for this site — CSS-first @theme config, custom tokens, and a palette that passes WCAG at every level.
· 8 min read
Feature Testing Laravel Applications with Pest
A pragmatic guide to writing fast, readable feature tests in Laravel using Pest — from test structure to database setup and API testing.
· 11 min read
Deploying Laravel on a VPS: Caddy, Supervisor, and Zero-Downtime Releases
The exact setup I use to deploy Laravel on a raw Ubuntu VPS — Caddy for automatic TLS, Supervisor for queue workers, and an atomic symlink deploy script.
· 9 min read
Semantic Search with pgvector and Laravel Scout
Add meaning-based search to your Laravel app using a custom Scout driver, pgvector HNSW index, and Voyage AI embeddings — with a hybrid keyword fallback.