marcelweidum/filament-passkeys
Composer 安装命令:
composer require marcelweidum/filament-passkeys
包简介
Use passkeys in your filamentphp app
README 文档
README
Use passkeys in your filament app.
The current 4.x version uses Laravel's native passkeys package.
Version compatibility
| Package version | Filament version | Passkeys backend | Use this when |
|---|---|---|---|
4.x |
Filament v5 | Laravel native passkeys (laravel/passkeys) |
Starting a new Filament v5 app or upgrading to Laravel native passkeys |
3.x |
Filament v5 | Spatie passkeys (spatie/laravel-passkeys) |
Staying on the older Spatie-backed implementation |
2.x |
Filament v3 or v4 | Spatie passkeys (spatie/laravel-passkeys) |
Using Filament v3 or v4 |
Installation
- Install the package via composer:
composer require marcelweidum/filament-passkeys
- Add Laravel's passkey interface and trait to your user model
namespace App\Models; use Laravel\Passkeys\Contracts\PasskeyUser; use Laravel\Passkeys\PasskeyAuthenticatable; // ... class User extends Authenticatable implements PasskeyUser { use HasFactory, Notifiable, PasskeyAuthenticatable; // ... }
- Publish and run the migrations
php artisan vendor:publish --tag="passkeys-migrations"
php artisan migrate
Laravel registers the passkey routes automatically. You can optionally publish Laravel's passkeys config:
php artisan vendor:publish --tag="passkeys-config"
- 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.
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.
Upgrading from the Spatie passkeys package
This package no longer uses spatie/laravel-passkeys. If you are upgrading an existing 3.x application to the native Laravel passkeys version, follow the 3.x to native Laravel upgrade guide.
For existing Spatie-backed applications, do not run Laravel's fresh create_passkeys_table migration against the existing table. The upgrade guide uses this package's conversion migration instead.
(Optional) If you want to customize the translations, you can publish the translations by running:
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 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.
marcelweidum/filament-passkeys 适用场景与选型建议
marcelweidum/filament-passkeys 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 51k 次下载、GitHub Stars 达 66, 最近一次更新时间为 2025 年 08 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「filament」 「filamentphp」 「MarcelWeidum」 「filament-passkeys」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 marcelweidum/filament-passkeys 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 marcelweidum/filament-passkeys 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 marcelweidum/filament-passkeys 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Filament plugin that integrates tabler icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.
jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.
Send Notification to discord channel Webhook using native FilamentPHP Notification Facade class
Alfabank REST API integration
Filament administration, page editing, recovery, settings, and operations for Capell CMS.
Database-driven onboarding for Filament: progress checklists and guided spotlight tours, translatable to any locale.
统计信息
- 总下载量: 51k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 66
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-12