Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rawilk/laravel-webauthn
Add webauthn functionality to Laravel.
https://github.com/rawilk/laravel-webauthn
webauthn
Last synced: 5 days ago
JSON representation
Add webauthn functionality to Laravel.
- Host: GitHub
- URL: https://github.com/rawilk/laravel-webauthn
- Owner: rawilk
- License: mit
- Created: 2022-05-13T14:48:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T12:18:15.000Z (5 months ago)
- Last Synced: 2024-10-30T03:06:03.769Z (2 months ago)
- Topics: webauthn
- Language: PHP
- Homepage: https://randallwilk.dev/docs/laravel-webauthn
- Size: 163 KB
- Stars: 21
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# WebAuthn for Laravel
[![Latest Version on Packagist](https://img.shields.io/packagist/v/rawilk/laravel-webauthn.svg?style=flat-square)](https://packagist.org/packages/rawilk/laravel-webauthn)
![Tests](https://github.com/rawilk/laravel-webauthn/workflows/Tests/badge.svg?style=flat-square)
[![Total Downloads](https://img.shields.io/packagist/dt/rawilk/laravel-webauthn.svg?style=flat-square)](https://packagist.org/packages/rawilk/laravel-webauthn)
[![PHP from Packagist](https://img.shields.io/packagist/php-v/rawilk/laravel-webauthn?style=flat-square)](https://packagist.org/packages/rawilk/laravel-webauthn)
[![License](https://img.shields.io/github/license/rawilk/laravel-webauthn?style=flat-square)](https://github.com/rawilk/laravel-webauthn/blob/main/LICENSE.md)![Social image](https://banners.beyondco.de/WebAuthn%20for%20Laravel.png?theme=light&packageManager=composer+require&packageName=rawilk%2Flaravel-webauthn&pattern=randomShapes&style=style_1&description=Add+WebAuthn+functionality+to+Laravel.&md=1&showWatermark=0&fontSize=100px&images=key)
Add the ability to add a hardware based two-factor authentication via a security key, fingerprint or biometric data. Using WebAuthn as a second factor of authentication can help your users better secure their accounts on your application. For more info on WebAuthn, please check out this [guide](https://webauthn.guide/).
## Documentation
For more documentation, please visit the [docs](https://randallwilk.dev/docs/laravel-webauthn).
## Installation
You can install the package via composer:
```bash
composer require rawilk/laravel-webauthn
```You can publish and run the migrations with:
```bash
php artisan vendor:publish --tag="webauthn-migrations"
php artisan migrate
```You can publish the config file with:
```bash
php artisan vendor:publish --tag="webauthn-config"
```You can view the default configuration here: https://github.com/rawilk/laravel-webauthn/blob/main/config/laravel-webauthn.php
## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security
Please review [my security policy](.github/SECURITY.md) on how to report security vulnerabilities.
## Credits
This package is heavily inspired from Larapass and asbiin/laravel-webauthn.
- [Randall Wilk](https://github.com/rawilk)
- [All Contributors](../../contributors)Since the `v1.0.1` patch, a considerable amount of the JavaScript portion of this package has been sourced from the [SimpleWebAuthn](https://github.com/MasterKale/SimpleWebAuthn) package made by [Matthew Miller](https://github.com/MasterKale). His copyright has been added to the license file, and copyright notices have been placed in JS files where the code is extremely close to what his is.
## Alternatives
This package aims to provide only the bare necessities required to utilize WebAuthn in your application, which provides the freedom to incorporate it into your project based on your own needs and desires. If you're looking for a more complete solution, consider one of these alternatives:
- [Laragear Webauthn](https://github.com/Laragear/WebAuthn)
- [asbiin/laravel-webauthn](https://github.com/asbiin/laravel-webauthn)## Disclaimer
This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel or any of its affiliates.
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.