Jev directory
CommunityJev Repos & SDKs
Laravel Jev
Laravel package offering a fluent API for semantic classification and decisions through Jev, with is, choose, and score helpers, single-roundtrip batching, form request validation rules, a test fake, and optional response caching.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Requires PHP 8.2+ and Laravel 10, 11, or 12; installed with composer require i-priyanshuverma/laravel-jev.
- Reports typical response times of 70 to 500ms with calibrated confidence scores.
- Jev::analyze() chains multiple questions against one payload in a single HTTP roundtrip.
- Jev::fake() mocks responses offline and provides assertion helpers such as assertChosen.
- Ships JevNot and fluent JevRule validation rules, plus optional Redis or cache-store memoization.
Questions about this entry
Short answers drawn from the linked project or page.
Run composer require i-priyanshuverma/laravel-jev, then publish the config with php artisan vendor:publish --tag="jev-config" and add JEV_API_KEY to your .env file. It is built on Laravel's native HTTP client with zero third-party package dependencies.
PHP 8.2 or higher, and Laravel 10.x, 11.x, or 12.x. The package is MIT licensed and published on Packagist as i-priyanshuverma/laravel-jev.
Jev::is defaults to a 0.80 confidence threshold. You can override it per call, for example Jev::isNot($payload, 'an actionable billing event', threshold: 0.85).
Use Jev::analyze($payload)->is('urgent', 'Is this request urgent?')->choose('department', [...])->score('sentiment', [...])->run(). All questions are evaluated against the same payload in a single HTTP roundtrip.
Yes. Jev::fake(['choose' => 'billing']) mocks responses offline, and assertion helpers such as Jev::assertChosen('billing') let you verify what the code asked for.
Add the JevNot rule to reject submissions matching unwanted criteria, or use the fluent JevRule, for example JevRule::not('profanity or harassment')->message('Please keep feedback respectful.') and JevRule::is('constructive product feedback').
Yes, response caching is optional and can use Redis or a cache store for memoization. It is off by default, so enable it only where repeated identical inputs justify the cached result.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Agent Handoff Gate: agents verify what they hand off
X: Jev as an LLM guardrail inside Agentgateway
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.