Laravel Face Auth is an awesome package that utilizes Microsoft's cognitive API to identify faces instead of passwords for your Laravel application. Note: Please do not use face recognition as an alternative for password authentication in a production system!

Add the service provider to your config/app.php: Mpociot\FaceAuth\FaceAuthServiceProvider::class, In your config/auth.php, change the auth driver to faceauth: 'providers' => [ 'users' => [ 'driver' => 'faceauth', 'model' => App\User::class, ], ]

Face authentication works, by using a reference image of your user and matching it against an uploaded image upon login.

In order for this package, to find the user photo, your User model needs to implement the FaceAuthenticatable interface.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners