Writing tests to validate behaviour in a multi-tenancy, multi-database app can be challenging. “Lock wait timeout” errors, or transactions cleaned up in one db and not another – it can be very frustrating! Fortunately, Laravel has a way to support db transactions across multiple databases.
PHP
Creating The Perfect Claude Code Status Line
A walkthrough of building a useful Claude Code status line that shows your current repo, git branch, staged/unstaged changes, and context window usage percentage. The context percentage is the most valuable part: it helps you Read more…