New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

larswiegers/laravel-ai-evaluation

Run AI/LLM evals for your AI features
4,704 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

Latest Version on Packagist Total Downloads GitHub Actions Laravel Compatibility

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,...

3,075 0
vizra/evals

Evaluation framework for AI agents built on the official Laravel AI SDK.

80 1
jkudish/pest-plugin-ai-benchmarks

A Pest plugin for comparative AI benchmarks, durable evidence, replay, and basel...

1,515 0
offset-smoker/laravel-llm-evals

Evaluation harness for LLM features in Laravel: golden datasets, code-based grad...

2 0
neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

86,461 122

Version History

Version Released PHP Laravel License
0.1.6 ^8.3 ^12.0|^13.0 MIT
0.1.5 ^8.3 ^12.0|^13.0 MIT
0.1.4 ^8.3 ^12.0|^13.0 MIT
0.1.3 ^8.3|^8.4|^8.5 ^12.0|^13.0 MIT
0.1.2 ^8.3|^8.4|^8.5 ^12.0|^13.0 MIT