Download the PHP package muazzambuilds/filament-turnstile without Composer
On this page you can find all versions of the php package muazzambuilds/filament-turnstile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download muazzambuilds/filament-turnstile
More information about muazzambuilds/filament-turnstile
Files in muazzambuilds/filament-turnstile
Package filament-turnstile
Short Description Cloudflare Turnstile panel plugin for Filament v5 — register once, auto-protect login (and optionally registration / password reset).
License MIT
Homepage https://github.com/muazzambuilds/filament-turnstile
Informations about the package filament-turnstile
Filament Turnstile
Cloudflare Turnstile panel plugin for Filament v5. Register it once on a panel and login is protected automatically — optionally registration and password-reset request too. No form schema edits for the common case.
Requirements
| Dependency | Version |
|---|---|
| PHP | ^8.2 |
| Laravel | ^11 / ^12 |
| Filament | ^5.0 |
Installation
Publish the config (optional):
Add your keys to .env:
Create a widget and get keys at dash.cloudflare.com → Turnstile.
Usage
Panel plugin (recommended)
Call ->plugin(...) after ->login() / ->registration() / ->passwordReset() so the plugin can swap the auth page classes:
Defaults: login is protected; registration and password-reset request are not.
Widget options
Manual form field
For custom auth pages or any Filament form:
Disable auto-swap and extend or compose yourself:
Custom auth pages
Extend the packaged pages or use the trait:
Local / CI testing
Cloudflare test keys (any hostname, including localhost):
| Purpose | Site key | Secret key |
|---|---|---|
| Always passes | 1x00000000000000000000AA |
1x0000000000000000000000000000000AA |
| Always blocks | 2x00000000000000000000AB |
2x0000000000000000000000000000000AA |
If keys are missing, the widget is hidden and server validation is skipped so local apps without Turnstile still boot.
Configuration
Publish views
Testing this package
Support
If this package helps you, consider supporting development:
License
MIT — see LICENSE.
All versions of filament-turnstile with dependencies
filament/filament Version ^5.0
illuminate/contracts Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
spatie/laravel-package-tools Version ^1.16