marcelweidum / filament-passkeys
Use passkeys in your filamentphp app
Fund package maintenance!
Buy Me A Coffee
Requires
- php: ^8.2
- filament/filament: ^4.0
- spatie/laravel-package-tools: ^1.15.0
- spatie/laravel-passkeys: *
Requires (Dev)
- larastan/larastan: ^2.0.1
- laravel/pint: ^1.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2025-08-12 19:26:22 UTC
README
Use passkeys in your filamentphp app. This package is using the passkeys package from spatie.
Caution
The current release is an alpha release — use it cautiously in production. A lot of features and customizations are soon coming.
Installation
- Install the package via composer:
composer require marcelweidum/filament-passkeys
- Add the package's interface and trait to your user model
namespace App\Models; use Spatie\LaravelPasskeys\Models\Concerns\HasPasskeys; use Spatie\LaravelPasskeys\Models\Concerns\InteractsWithPasskeys; // ... class User extends Authenticatable implements HasPasskeys { use HasFactory, Notifiable, InteractsWithPasskeys; // ... }
- Publish and run the migrations
php artisan vendor:publish --tag="passkeys-migrations"
php artisan migrate
- Add the package provided routes
// routes/web.php Route::passkeys();
Common problems
If you're having problems creating passkeys on your profile page, check if your APP_URL
in the .env
file is set to the correct url of the application.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.