https://github.com/spatie/laravel-passkeys
Use passkeys in your Laravel app
https://github.com/spatie/laravel-passkeys
authentication laravel passkeys php
Last synced: about 2 months ago
JSON representation
Use passkeys in your Laravel app
- Host: GitHub
- URL: https://github.com/spatie/laravel-passkeys
- Owner: spatie
- License: mit
- Created: 2024-08-06T12:17:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-30T03:44:09.000Z (2 months ago)
- Last Synced: 2026-04-07T16:41:14.872Z (about 2 months ago)
- Topics: authentication, laravel, passkeys, php
- Language: PHP
- Homepage: https://spatie.be/docs/laravel-passkeys
- Size: 4.15 MB
- Stars: 444
- Watchers: 12
- Forks: 53
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Support: docs/support-us.md
Awesome Lists containing this project
README
Use passkeys in your Laravel app
[](https://packagist.org/packages/spatie/laravel-passkeys)
[](https://github.com/spatie/laravel-passkeys/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/spatie/laravel-passkeys/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[](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
[
](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
This package contains a Livewire component to generate passkeys. Make sure you have Livewire installed in your Laravel app.
## Documentation
All documentation is available [on our documentation site](https://spatie.be/docs/laravel-passkeys).
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## 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
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.