Jev directory
CommunityJev Integrations & Adapters
Laravel Clorian
Laravel package that weighs Eloquent models and raw input with Jev, applying confident typed answers automatically and sending unsure ones to human review, with per-question thresholds and calibration stats.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Requires PHP 8.3+ and Laravel 12 or 13; installed with Composer.
- A policy declares the questions; Jev answers all of them in one call with probabilities.
- Per-question and per-option thresholds route answers to auto-accept, human review, or defaults.
- Redacts emails, phone numbers, and long digit runs before sending; stored input is encrypted.
- apply() runs after every weighing and review, so it must be safe to run twice.
Questions about this entry
Short answers drawn from the linked project or page.
Run composer require phoenix1331/laravel-clorian, then php artisan clorian:install, which publishes the config and migrations and asks whether to weigh models queued or sync before running migrate.
PHP 8.3 or later and Laravel 12 or 13. Clorian is pre-1.0, so Composer pins ^0.1 and a minor release may include breaking changes; check the changelog before upgrading.
Add the #[Weigh] attribute and the HasWeighings trait to the model and write its policy. Clorian weighs on create and when the marked fields change, using model events rather than middleware, so saves from jobs, APIs, Livewire, and console commands are covered.
CLORIAN_MODE=queued weighs the model in a job after the save commits, which requires a queue worker. CLORIAN_MODE=sync weighs during the save. The installer asks which one you want.
Emails, phone numbers, and long digit runs are redacted before anything leaves your app, and stored input is encrypted. Only the #[Weigh] fields are sent, and Jev answers every question in the policy in one call.
Yes. Set CLORIAN_DRIVER=fake to use the fake driver, so your tests never call the API. Jev sits behind a driver contract, and Clorian is headless with no views or routes.
apply() runs after every weighing and every review, and again on weighNow() and clorian:rescan, so it should set values that are safe to set twice, such as a queue or priority. Put anything that must happen once, such as an email, in an event listener.
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.