·
8 min
How to Write Testable PHP Code (Without a Framework)
Learn to write testable PHP code without a framework: dependency injection, injecting time and randomness, and a plain PHPUnit test.
3 Articles
Learn to write testable PHP code without a framework: dependency injection, injecting time and randomness, and a plain PHPUnit test.
A practical guide to evaluate LLM output: golden datasets, deterministic checks, LLM-as-judge, human review, and regression testing.
A practical Pest vs PHPUnit comparison for Laravel in 2026: syntax, expectations, datasets, plugins, and which testing tool I'd actually pick.