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
How to Stop an AI Agent from Destroying Your Laravel App
A practical post on hardening Laravel projects against destructive AI agent behavior. It walks through the PocketOS incident and shows concrete safeguards like deny rules, credential isolation, and production guardrails. Read more