Laravel Passkeys
Use passkeys in your Laravel app
Introduction
On this page
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.
Passkeys in action
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.
Here's how it looks like when creating a passkey on Mailcoach, which uses spatie/laravel-passkeys under the hood.
And here's what logging in on Mailcoach using a passkeys looks like. Note that your don't have to type in your email address or password. You just need to click the "Log in with passkey" and let 1Pass (or alternative app) do the rest.
Demo application
We've provided a demo application that uses this package to log in users using passkeys.
Learning more
You can learn more about how passkeys work here. There's also this wonderful course on Laracasts about how to implement passkeys in Laravel.
