Skip to content

Blog

Writing

Engineering, AI experiments, and software craft.

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.

Filtered by Laravel ✕ clear
Mar 20, 2025
· 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.

Jan 30, 2025
· 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.

Jan 12, 2025
· 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.

Nov 22, 2024
· 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.

Oct 20, 2024
· 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.

Jun 10, 2024
· 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.

Feb 20, 2024
· 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.

Jan 15, 2024
· 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.