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.6.4(1mo ago)444494.4k—3.9%53[1 PRs](https://github.com/spatie/laravel-passkeys/pulls)12MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since May 5Pushed 1mo ago12 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 1mo ago

READMEChangelog (10)Dependencies (30)Versions (35)Used By (12)

 [   ![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://camo.githubusercontent.com/3961e06c6c3ee2619dcfad62dad50ae9a2b45a5f42d029545b0d73cae0e04ae2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7370617469652f6c61726176656c2d706173736b6579732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/spatie/laravel-passkeys/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/cf32402e4a4d7605c38804684f03bac4c1573690fc4124ed5f1be71c3e771d9f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7370617469652f6c61726176656c2d706173736b6579732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](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

66

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity59

Moderate usage in the ecosystem

Community40

Growing community involvement

Maturity66

Established project with proven stability

 Bus Factor1

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

30

Last Release

55d 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 (183 commits)")[![lrljoe](https://avatars.githubusercontent.com/u/104938042?v=4)](https://github.com/lrljoe "lrljoe (25 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 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] (5 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)")[![altayevrim](https://avatars.githubusercontent.com/u/7891007?v=4)](https://github.com/altayevrim "altayevrim (2 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![gerpo](https://avatars.githubusercontent.com/u/11218560?v=4)](https://github.com/gerpo "gerpo (2 commits)")[![Mantix](https://avatars.githubusercontent.com/u/5512138?v=4)](https://github.com/Mantix "Mantix (2 commits)")[![DSpeichert](https://avatars.githubusercontent.com/u/1254971?v=4)](https://github.com/DSpeichert "DSpeichert (2 commits)")[![holdmyglass](https://avatars.githubusercontent.com/u/95923200?v=4)](https://github.com/holdmyglass "holdmyglass (2 commits)")[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (2 commits)")[![xHeaven](https://avatars.githubusercontent.com/u/14284867?v=4)](https://github.com/xHeaven "xHeaven (1 commits)")[![gaiustemple](https://avatars.githubusercontent.com/u/26857336?v=4)](https://github.com/gaiustemple "gaiustemple (1 commits)")[![ggiak](https://avatars.githubusercontent.com/u/20743694?v=4)](https://github.com/ggiak "ggiak (1 commits)")[![hamrak](https://avatars.githubusercontent.com/u/5807028?v=4)](https://github.com/hamrak "hamrak (1 commits)")[![HichemTab-tech](https://avatars.githubusercontent.com/u/84734617?v=4)](https://github.com/HichemTab-tech "HichemTab-tech (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.9k89.8M1.0k](/packages/spatie-laravel-permission)[jeffgreco13/filament-breezy

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

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[spatie/laravel-login-link

Quickly login to your local environment

4381.2M1](/packages/spatie-laravel-login-link)[spatie/laravel-one-time-passwords

Use one-time passwords (OTP) to authenticate in your Laravel app

170223.1k3](/packages/spatie-laravel-one-time-passwords)[ryangjchandler/laravel-cloudflare-turnstile

A simple package to help integrate Cloudflare Turnstile.

438896.6k2](/packages/ryangjchandler-laravel-cloudflare-turnstile)

PHPackages © 2026

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