bunowave / recloud-laravel
ReCloud Turnstile bot protection for Laravel: Blade component, validation rule, middleware and facade.
v1.0.0
2026-11-24 10:52 UTC
Requires
- php: ^8.1
- illuminate/http: ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/support: ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/validation: ^10.0 || ^11.0 || ^12.0 || ^13.0
- illuminate/view: ^10.0 || ^11.0 || ^12.0 || ^13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Privacy-first bot protection for Laravel apps.
Install
composer require bunowave/recloud-laravel
If the package is not available on Packagist yet, register the ReCloud registry first:
Add your keys to .env:
RECLOUD_SITE_KEY=your-site-key RECLOUD_SECRET=your-secret-key
Use
Render the widget inside a form:
<x-recloud theme="dark" size="flexible" />
Validate the token:
use BunoWave\ReCloud\Rules\ReCloudRule; $request->validate([ 'recloud-response' => ['required', new ReCloudRule()], ]);
Or use the string rule 'required|recloud', the VerifyReCloud middleware, or the ReCloud facade.
Options
Publish the config with php artisan vendor:publish --tag=recloud-config.
Documentation: https://recloud-turnstile.bunowave.shop/docs/sdks
License: MIT