Evals in Laravel: How to Prove Your AI Output Is Actually Good
Mujahid Abbas · blog · testing, agents
What it is — A practical guide to building AI-output evals (distinct from unit tests) in a Laravel app.
Key points
- Tests check “did it run”; evals check “is it good”.
- Golden datasets for deterministic outputs, an LLM-judge for open-ended ones.
- Run on a schedule / before prompt changes, sampling prod traffic to catch model drift.
Shared by Adam Tomat in #ai-dev.