Guides from real projects
Upgrading a real app from Laravel 12 to 13: what we changed
The exact composer, middleware and PHPUnit changes from upgrading a production Laravel 12 app to Laravel 13, and the test-discovery trap that hid tests behind a green result.
29 November 2026Importing large CSV files in Laravel without running out of memory
A resumable chunked upload design for big subscriber or lead imports: fixed-size chunks, hash-checked replays, a spool file and a queued job, so memory stays flat.
29 November 2026Why a multi-tenant Laravel page suddenly looks empty: current workspace stored on the user row
If the active workspace or team lives in a column on the users table, a second session on the same login can switch it and make your data seem to vanish. How it happens and a safer design.
29 November 2026We ran migrate:fresh against production by mistake: what happened and the rule we made
A test run of php artisan migrate:fresh used the production container's environment and dropped the production schema. Why PHPUnit's overrides did not protect us, how we restored, and the guardrails to put in place.
29 November 2026Ollama timeouts in Laravel: the 60 second default and the options bug
A Laravel app calling a local Ollama model kept timing out at 60 seconds, and its token limits did nothing. The timeout, num_predict and truncation checks that fixed it.
29 November 2026PHPUnit aborts with a fatal error on it(): Pest-style tests in a project without Pest
A single Pest-style test file can stop a whole PHPUnit run, because PHPUnit loads every test file before it filters. Why fixing one file only reveals the next, and how to audit the folder.
29 November 2026PHPUnit 12 runs fewer tests than before: converting @test and @group to attributes
PHPUnit 12 no longer reads doc-comment metadata, so old @test, @group and @dataProvider tests can stop running while the suite stays green. How to spot it and a script to convert them.
29 November 2026Self-hosting Laravel apps on Coolify: problems we hit and how we fixed them
Persistent volumes that look empty, env changes that do nothing, and 504s from Traefik: real problems from running Laravel and other apps on a self-hosted Coolify server.
29 November 2026Thinning a Laravel queue: skip marketing email with a cheap filter before the slow AI step
When every inbound email goes through a slow local model, promotional mail fills the queue. A conservative rule-based filter that runs before the model call, and the checks that keep receipts and security mail out of it.
29 November 2026Rotating SMTP accounts in Laravel and pausing the ones that fail
How we rotate campaign sends across several SMTP accounts, which failures count against an account, and why an account pauses after three authentication failures in a row.
29 November 2026