PHPackages                             robertboes/filament-passkeys - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. robertboes/filament-passkeys

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

robertboes/filament-passkeys
============================

Filament plugin that integrates Laravel's official passkeys package into the panel login and profile.

v0.1.0(3w ago)290↑300%MITPHPPHP ^8.3CI passing

Since May 19Pushed 2w agoCompare

[ Source](https://github.com/RobertBoes/filament-passkeys-plugin)[ Packagist](https://packagist.org/packages/robertboes/filament-passkeys)[ RSS](/packages/robertboes-filament-passkeys/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

Filament Passkeys
=================

[](#filament-passkeys)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3db7e4d52af8c9018b667dba8b93f7abc1221428b3bbad8205a2eafae4bb64cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f62657274626f65732f66696c616d656e742d706173736b6579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robertboes/filament-passkeys)[![Total Downloads](https://camo.githubusercontent.com/360959cf883beb628e6bbf0aedaa6d0a57dd6a679db676788900405af4929044/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f62657274626f65732f66696c616d656e742d706173736b6579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robertboes/filament-passkeys)

A Filament v5 plugin that hooks [`laravel/passkeys`](https://github.com/laravel/passkeys) into your panel. It adds a "Sign in with passkey" button to the login page, and gives users a passkey section on their profile page where they can add or remove keys. Password confirmation is handled with a Filament modal, so users do not get bounced to a separate page mid-flow.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 11, 12, or 13
- Filament v5
- `laravel/passkeys` ^0.2

Installation
------------

[](#installation)

Install with Composer:

```
composer require robertboes/filament-passkeys
```

Run the install command. It publishes the `laravel/passkeys` migration and config, runs migrations, and prints the User-model snippet you still need to add:

```
php artisan filament-passkeys:install
```

Add the trait and contract to your User model:

```
use Laravel\Passkeys\Contracts\PasskeyUser;
use Laravel\Passkeys\PasskeyAuthenticatable;

class User extends Authenticatable implements PasskeyUser
{
    use PasskeyAuthenticatable;
}
```

Register the plugin on your panel:

```
use RobertBoes\FilamentPasskeys\FilamentPasskeysPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugin(FilamentPasskeysPlugin::make());
}
```

The JS bundle is registered as a Filament asset, so it gets published when `php artisan filament:assets` runs. Most Filament apps already run that automatically after `composer install` via the `post-update-cmd` script.

What you get
------------

[](#what-you-get)

With the default config:

- A "Sign in with passkey" button on the panel's login page.
- A "Passkeys" section on the profile page where users can add, name, and remove their own keys.
- A password confirmation modal that wraps add and remove actions, so `laravel/passkeys`'s `password.confirm` middleware can do its job without a full-page redirect.
- A status endpoint so the modal only opens when the user actually needs to reconfirm.

The plugin uses Filament's pre-compiled component classes (`fi-section`, `fi-callout`, `fi-input-wrp`, etc.), so you do not need to add the plugin's blade files to your Tailwind content paths.

The standalone management page at `/dashboard/passkeys` is off by default, because the profile page section covers the same workflow. Enable it with `->withManagePage()` if you prefer a dedicated route.

Configuration
-------------

[](#configuration)

Each surface can be toggled:

```
FilamentPasskeysPlugin::make()
    ->withLoginButton()          // login page button (default: on)
    ->withProfilePageSection()   // section on the profile page (default: on)
    ->withManagePage()           // standalone /dashboard/passkeys page (default: off)
    ->withUserMenuItem();        // link in the user menu to the standalone page (default: on, requires withManagePage)
```

Every toggle has a `without*` counterpart:

```
FilamentPasskeysPlugin::make()
    ->withoutLoginButton()
    ->withoutProfilePageSection();
```

Label overrides:

```
FilamentPasskeysPlugin::make()
    ->loginButtonLabel('Use a passkey')
    ->userMenuItemLabel('My keys');
```

Integrating with a custom EditProfile
-------------------------------------

[](#integrating-with-a-custom-editprofile)

If you already extend `Filament\Auth\Pages\EditProfile`, you can drop the passkey section into your own schema instead of letting the plugin inject it:

```
use RobertBoes\FilamentPasskeys\FilamentPasskeysPlugin;

public function content(Schema $schema): Schema
{
    return $schema->components([
        // your existing components,
        FilamentPasskeysPlugin::passkeysSection(),
    ]);
}
```

Turn off automatic injection so the section does not render twice:

```
FilamentPasskeysPlugin::make()->withoutProfilePageSection();
```

Customising views and strings
-----------------------------

[](#customising-views-and-strings)

Publish the views if you want to tweak the markup:

```
php artisan vendor:publish --tag="filament-passkeys-views"
```

Publish the config:

```
php artisan vendor:publish --tag="filament-passkeys-config"
```

Publish the translations:

```
php artisan vendor:publish --tag="filament-passkeys-translations"
```

Tenancy
-------

[](#tenancy)

The plugin works the same with or without tenancy. Filament's `EditProfile` is panel-level by default, and the optional standalone management page is also registered at the panel root. So `/dashboard/passkeys` stays at the same URL whether or not the user is currently inside a tenant.

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Robert Boes](https://github.com/robertboes)
- [Laravel](https://github.com/laravel/passkeys) for `laravel/passkeys`
- [Filament](https://filamentphp.com) for the panel builder

License
-------

[](#license)

The MIT License (MIT). See [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance96

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

21d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e65e130b74c5c113aca401653e14cf9ec2e7aa390f4371e971c78bd0b5ba842d?d=identicon)[RobertBoes](/maintainers/RobertBoes)

---

Top Contributors

[![RobertBoes](https://avatars.githubusercontent.com/u/2871897?v=4)](https://github.com/RobertBoes "RobertBoes (14 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/robertboes-filament-passkeys/health.svg)

```
[![Health](https://phpackages.com/badges/robertboes-filament-passkeys/health.svg)](https://phpackages.com/packages/robertboes-filament-passkeys)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k3.5M115](/packages/bezhansalleh-filament-shield)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.9M52](/packages/jeffgreco13-filament-breezy)[stechstudio/filament-impersonate

A Filament package to impersonate your users.

3903.2M39](/packages/stechstudio-filament-impersonate)[althinect/filament-spatie-roles-permissions

3441.1M10](/packages/althinect-filament-spatie-roles-permissions)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

2141.1M10](/packages/dutchcodingcompany-filament-socialite)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6643.3k](/packages/marcelweidum-filament-passkeys)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
