Tighten programmer Alison shares an intro to terminable middleware in Laravel. This type of middleware does work after the HTTP response is sent to the browser. Learn when to use it, and a some gotchas.
PHP
Lock a shared test database for parallel test processes
AI coding agents love to run tests in parallel processes. That’s great until multiple processes try to use the same local test database at once. A small file lock can serialize access and stop those Read more…