Download the PHP package lipetuga/laravel-u2f without Composer
On this page you can find all versions of the php package lipetuga/laravel-u2f. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lipetuga/laravel-u2f
More information about lipetuga/laravel-u2f
Files in lipetuga/laravel-u2f
Package laravel-u2f
Short Description U2F support for laravel 7
License MIT
Homepage https://github.com/LipeTuga/laravel-u2f
Informations about the package laravel-u2f
laravel-u2f
This PSR4 package provide u2f protocol integration in laravel 6 framework.
Requirements
- A top level domain
- HTTPS
- PHP >= 7.2 (If you want to use this package with php 5 you need to use the version v1.1.0)
Install
Via Composer
Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Configs
Assets
Views
Note that default views use Laravel's default Bootstrap 4. If you don't use it, you have to update the views.
Migrations
Middleware
In the app/Http/Kernel.php file
Usage
A example projet is available to help you with the configuration / usage.
Middleware
In the route.php file add the u2f middleware on your routes or groups:
In controller:
Configuration
Events
-
Name:
u2f.authentication
Payload:
[ 'u2fKey' => $key, 'user' => Auth::user() ]
Description: An user authenticate himself with a valid u2f key
-
Name:
u2f.register
Payload
[ 'u2fKey' => $key, 'user' => Auth::user() ]
Description: An user register a new u2f key
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email lahaxe[dot]arnaud[at]gmail[dot]com instead of using the issue tracker.
Credits
- Arnaud LAHAXE
- Mike Robinson
- Chakphanu Komasathit
- Anne Jan Brouwer
- Alexis Saettler
- Thomas Lété
- Luca Bognolo
License
The MIT License (MIT). Please see License File for more information.
After coding
What better way to relax, after spending hours coding, than a good cocktail on the terrace?
All versions of laravel-u2f with dependencies
illuminate/auth Version ^8.0
illuminate/config Version ^8.0
illuminate/container Version ^8.0
illuminate/events Version ^8.0
illuminate/database Version ^8.0
illuminate/session Version ^8.0
illuminate/routing Version ^8.0
illuminate/http Version ^8.0
illuminate/contracts Version ^8.0
illuminate/view Version ^8.0
illuminate/translation Version ^8.0
yubico/u2flib-server Version 1.0.1