spatie / laravel-passkeys
Use passkeys in your Laravel app
Fund package maintenance!
Spatie
Installs: 464
Dependents: 0
Suggesters: 0
Security: 0
Stars: 258
Watchers: 15
Forks: 27
Open Issues: 0
Requires
- php: ^8.2|^8.3|^8.4
- illuminate/contracts: ^11.0|^12.0
- spatie/laravel-package-tools: ^1.16
- web-auth/webauthn-lib: ^5.0
Requires (Dev)
- larastan/larastan: ^3.4
- laravel/pint: ^1.14
- livewire/livewire: ^3.5
- nunomaduro/collision: ^8.1.1
- orchestra/testbench: ^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- spatie/laravel-ray: ^1.35
README
Use passkeys in your Laravel app
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
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
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. We publish all received postcards on our virtual postcard wall.
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.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
This code is based on the Laracast course on passkeys by the amazing Luke Downing.
License
The MIT License (MIT). Please see License File for more information.