marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

v1.0.0-alpha.1 2025-08-12 18:54 UTC

This package is auto-updated.

Last update: 2025-08-12 19:26:22 UTC


README

Latest Version on Packagist Total Downloads GitHub Code Style Action Status Filament 4.x

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

  1. Install the package via composer:
composer require marcelweidum/filament-passkeys
  1. 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;

    // ... 
}
  1. Publish and run the migrations
php artisan vendor:publish --tag="passkeys-migrations"
php artisan migrate
  1. 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.