Living peacefully with Laravel
summary
A practical guide to improving Laravel project reliability using concrete tools and workflows: adopt Pest PHP (with datasets and coverage) to get contributors writing tests quickly; use PHPStan/larastan with baselines and progressive levels 0–9 to remove static errors; apply Rector for automated, dry-run refactors; and rely on diagnostics like Telescope, Horizon, Xdebug and environment options (Herd, Sail) to reduce deployment anxiety and increase release confidence.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:15Developer experience
- 3:23Diagnostics and awareness tools
- 5:10Simplify dev with Laravel
- 6:34Deploy confidence
- 9:05Testing as DX pillar
- 12:53Pest PHP
- 16:49Test datasets
- 18:36Feature and browser tests
- 21:08Architecture tests
- 22:31Static analysis with PHPStan
- 26:04Adding PHPStan to legacy
- 27:49Safe refactor with Rector
- 29:58DX tools recap
- 31:50Q&A








