bajomodavid / jwt-auth
Simple Jwt Authentication for laravel
dev-master / 1.2.3.x-dev
2019-06-10 00:17 UTC
Requires
- php: ^5.5.9 || ^7.0
- lcobucci/jwt: ^3.2
This package is auto-updated.
Last update: 2024-03-23 08:37:14 UTC
README
A simple jwt-auth package for laravel
install package composer require bajomodavid/jwt-auth
Then add middleware 'bd.auth' => \BajomoDavid\JWTAuth\Middleware\CheckToken::class, under the protected $routeMiddleware in your App\Http\Kernel.php file, and then use the middleware in any routes you would like to protect with jwt