https://github.com/marcelweidum/filament-passkeys
Use passkeys in your filament app
https://github.com/marcelweidum/filament-passkeys
filament filament-4 filament-passkey filament-passkeys filament-plugin filamentphp filamentphp-4 filamentphp-passkey filamentphp-passkeys filamentphp-plugin livewire passkey passkeys php plugin spatie-passkey spatie-passkeys
Last synced: 2 months ago
JSON representation
Use passkeys in your filament app
- Host: GitHub
- URL: https://github.com/marcelweidum/filament-passkeys
- Owner: MarcelWeidum
- License: mit
- Created: 2025-08-11T18:25:07.000Z (10 months ago)
- Default Branch: 3.x
- Last Pushed: 2026-03-18T20:15:30.000Z (3 months ago)
- Last Synced: 2026-03-19T09:31:00.581Z (3 months ago)
- Topics: filament, filament-4, filament-passkey, filament-passkeys, filament-plugin, filamentphp, filamentphp-4, filamentphp-passkey, filamentphp-passkeys, filamentphp-plugin, livewire, passkey, passkeys, php, plugin, spatie-passkey, spatie-passkeys
- Language: PHP
- Homepage:
- Size: 4.37 MB
- Stars: 59
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Filament Passkeys
[](https://packagist.org/packages/marcelweidum/filament-passkeys)
[](https://packagist.org/packages/marcelweidum/filament-passkeys)
[](https://github.com/marcelweidum/filament-passkeys/actions?query=workflow%3A"Fix+PHP+code+styling"+branch%3Amain)


Use passkeys in your filament app.
This package is using the [passkeys package from spatie](https://spatie.be/docs/laravel-passkeys).

**Version compatibility:** `3.x` supports Filament v5. For Filament v3 and v4, use the [`2.x` branch](https://github.com/MarcelWeidum/filament-passkeys/tree/2.x).
## Installation
1. Install the package via composer:
```bash
composer require marcelweidum/filament-passkeys
```
2. Add the package's interface and trait to your user model
```php
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;
// ...
}
```
3. Publish and run the migrations
```bash
php artisan vendor:publish --tag="passkeys-migrations"
php artisan migrate
```
4. Add the package provided routes
```php
// routes/web.php
Route::passkeys();
```
5. Add passkeys plugin to your Filament Panel
Add passkeys to a panel by adding the class to your Filament Panel's plugin() or plugins([]) method.
```php
use MarcelWeidum\Passkeys\PasskeysPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
PasskeysPlugin::make(),
])
}
```
Don't forget to add `->profile()` to you panel as well to manage your passkeys.
(Optional) If you want to customize the translations, you can publish the translations by running:
```bash
php artisan vendor:publish --tag="filament-passkeys-translations"
```
## 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](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [MarcelWeidum](https://github.com/MarcelWeidum)
- [Spatie](https://github.com/spatie)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.