I wanted to stop controllers calling external services, however deep in the call graph.
So I built a PHPStan extension: mark external calls as 'slow', forbid 'slow' in controllers, and let it flag violations. Probably has many other uses too.
Owner of @lampbristol. Conference speaker. Organiser of @phpsw and Bristol PHP Training meetups. Author of SARB: github.com/DaveLiddament/…

