PHPackages                             spatie/laravel-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. spatie/laravel-passkeys

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

spatie/laravel-passkeys
=======================

Use passkeys in your Laravel app

1.8.1(4w ago)471890.7k—5.3%5617MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since May 5Pushed 1w ago11 watchersCompare

[ Source](https://github.com/spatie/laravel-passkeys)[ Packagist](https://packagist.org/packages/spatie/laravel-passkeys)[ Docs](https://github.com/spatie/laravel-passkeys)[ GitHub Sponsors](https://github.com/Spatie)[ RSS](/packages/spatie-laravel-passkeys/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (75)Versions (44)Used By (17)

 [   ![Logo for laravel-pdf](https://camo.githubusercontent.com/512b12d17c87740c6392165c554450fa6667c50d7c774670898f44c2ada51f54/68747470733a2f2f7370617469652e62652f7061636b616765732f6865616465722f6c61726176656c2d706173736b6579732f68746d6c2f6c696768742e77656270)  ](https://spatie.be/open-source?utm_source=github&utm_medium=banner&utm_campaign=laravel-passkeys)Use passkeys in your Laravel app
================================

[](#use-passkeys-in-your-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0ca167a0f495233f7af4e9adcf2b5df529a69fec2f9f1c61a37af6d52621c0e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6c61726176656c2d706173736b6579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-passkeys)[![GitHub Tests Action Status](https://github.com/spatie/laravel-passkeys/actions/workflows/run-tests.yml/badge.svg)](https://github.com/spatie/laravel-passkeys/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://github.com/spatie/laravel-passkeys/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/spatie/laravel-passkeys/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/50a78ad815aa2da2eff3d4ea3a1956db5204c898f904705194e7907f4d3930f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d706173736b6579732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-passkeys)

Passkeys let you log in without needing a password. Instead of a password, you can generate a passkey which will be stored in 1Pass, MacOS' password app, or alternative app on your favourite OS.

This package provides a simple way to generate passkeys using a Livewire component. It also contains a Blade component that can authenticate your users using passkeys.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/926a9bd54e0f4c0be599c83de349801aefb65aaa580d295a61c8f8f134a09bcd/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d706173736b6579732e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-passkeys)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#requirements)

This package contains a Livewire component to generate passkeys. Make sure you have Livewire installed in your Laravel app.

Documentation
-------------

[](#documentation)

All documentation is available [on our documentation site](https://spatie.be/docs/laravel-passkeys).

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

This code is based on the [Laracast course on passkeys](https://laracasts.com/series/add-passkeys-to-a-laravel-app) by the amazing [Luke Downing](https://github.com/lukeraymonddowning).

- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance97

Actively maintained with recent releases

Popularity61

Solid adoption and visibility

Community43

Growing community involvement

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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

Every ~11 days

Total

37

Last Release

28d ago

Major Versions

0.0.3 → 1.0.02025-05-06

PHP version history (3 changes)0.0.1PHP ^8.2

1.0.0PHP ^8.4

1.0.1PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (198 commits)")[![lrljoe](https://avatars.githubusercontent.com/u/104938042?v=4)](https://github.com/lrljoe "lrljoe (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (11 commits)")[![jegelkraut](https://avatars.githubusercontent.com/u/46072703?v=4)](https://github.com/jegelkraut "jegelkraut (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![altayevrim](https://avatars.githubusercontent.com/u/7891007?v=4)](https://github.com/altayevrim "altayevrim (2 commits)")[![DSpeichert](https://avatars.githubusercontent.com/u/1254971?v=4)](https://github.com/DSpeichert "DSpeichert (2 commits)")[![gerpo](https://avatars.githubusercontent.com/u/11218560?v=4)](https://github.com/gerpo "gerpo (2 commits)")[![holdmyglass](https://avatars.githubusercontent.com/u/95923200?v=4)](https://github.com/holdmyglass "holdmyglass (2 commits)")[![jhg](https://avatars.githubusercontent.com/u/1288711?v=4)](https://github.com/jhg "jhg (2 commits)")[![jimirobaer](https://avatars.githubusercontent.com/u/8984769?v=4)](https://github.com/jimirobaer "jimirobaer (2 commits)")[![Mantix](https://avatars.githubusercontent.com/u/5512138?v=4)](https://github.com/Mantix "Mantix (2 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (2 commits)")[![webard](https://avatars.githubusercontent.com/u/855788?v=4)](https://github.com/webard "webard (2 commits)")[![kidiatoliny](https://avatars.githubusercontent.com/u/48266788?v=4)](https://github.com/kidiatoliny "kidiatoliny (1 commits)")[![gaiustemple](https://avatars.githubusercontent.com/u/26857336?v=4)](https://github.com/gaiustemple "gaiustemple (1 commits)")[![mahavirnahata](https://avatars.githubusercontent.com/u/6626053?v=4)](https://github.com/mahavirnahata "mahavirnahata (1 commits)")[![thijsdewitt](https://avatars.githubusercontent.com/u/74593418?v=4)](https://github.com/thijsdewitt "thijsdewitt (1 commits)")

---

Tags

authenticationlaravelpasskeysphpspatielaravellaravel-passkeys

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/spatie-laravel-passkeys/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[jeffgreco13/filament-breezy

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

1.0k2.1M60](/packages/jeffgreco13-filament-breezy)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)

PHPackages © 2026

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