Looking to hire Laravel developers? Try LaraJobs
This package is not available.

cripcha-laravel maintained by cripcha

Author
Last update
2026/11/27 22:35 (v1.0.3)
License
Downloads
0

Comments
comments powered by Disqus

cripcha/cripcha-laravel

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.