larswiegers/laravel-ai-evaluation
Run AI/LLM evals for your AI features
3,773
7
| Install | |
|---|---|
composer require larswiegers/laravel-ai-evaluation |
|
| Latest Version: | 0.1.6 |
| PHP: | ^8.3 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Sep 13, 2026 |
| Links: | GitHub · Packagist |
Maintainer: LarsWiegers
Laravel AI Evaluation

Test real Laravel AI agent behavior with repeatable evals that run through Artisan and CI.
Quick start
composer require --dev larswiegers/laravel-ai-evaluation
php artisan make:ai-evals refund-policy
php artisan ai-evals:run
use LaravelAIEvaluation\AIEval;
it('answers refund policy questions', function () {
AIEval::agent(App\Ai\Agents\SupportAgent::class)
->input('Can I get a refund?')
->expectContains(['refund', '30 days'])
->run()
->assertPasses();
});
For installation, expectations, standalone reports, and CI output formats, see the docs:
Related Packages
mosaiqo/proofread
The only eval package native to the official Laravel AI stack. Evaluate agents,...
672
0
padosoft/eval-harness-ai-bridge
Bridge between padosoft/eval-harness and the laravel/ai SDK: turn an AgentRespon...
4
0
pestphp/pest-plugin-evals
A PestPHP plugin for evaluating LLM agents with LLM-as-judge, semantic similarit...
132,822
5
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.6 | ^8.3 | ^12.0| | MIT | |
| 0.1.5 | ^8.3 | ^12.0| | MIT | |
| 0.1.4 | ^8.3 | ^12.0| | MIT | |
| 0.1.3 | ^8.3| | ^12.0| | MIT | |
| 0.1.2 | ^8.3| | ^12.0| | MIT | |
| 0.1.1 | ^8.3| | ^12.0| | MIT | |
| 0.1 | ^8.3| | ^12.0| | MIT |