Search by

cripcha / cripcha-laravel

Crispy-Medias

Laravel package of Cripcha: validation rule and Blade component for the privacy-first, cookie-free captcha

v1.0.3 2026-11-27 21:35 UTC

This package is auto-updated.

Last update: 2026-11-27 23:31:02 UTC


README

Cripcha for Laravel 10, 11, 12 and 13: a validation rule and a Blade component.

composer require cripcha/cripcha-laravel
php artisan vendor:publish --tag=cripcha-config     # optional
CRIPCHA_SITE_KEY=ck_…
CRIPCHA_SECRET=cs_…
<form method="post">@csrf … <x-cripcha /> <button>Send</button></form>
use Cripcha\Laravel\Rules\Cripcha;

$request->validate(['cripcha-response' => ['required', new Cripcha()]]);
// or the string rule: 'cripcha-response' => 'required|cripcha'

CRIPCHA_ENABLED=false in .env.testing: every token accepted in the tests of the application. Messages in fr, en, es, de, nl, it, pt, uk, ro, ru.