ammadeuss / laravel-jwt
Laravel wrapper for the lcobucci/jwt package
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ammadeuss/laravel-jwt
Requires
- illuminate/support: 5.4.*
- lcobucci/jwt: ^3.2.1
This package is not auto-updated.
Last update: 2025-10-02 01:02:05 UTC
README
Laravel wrapper for the lcobucci/jwt package
Instalation
Require this package with composer:
composer require ammadeuss/laravel-jwt
You need to add the service provider in app.php
Ammadeuss\LaravelJwt\ServiceProvider::class,
If you want to use the facade, add these to your facades in app.php
'Jwt' => Ammadeuss\LaravelJwt\JwtFacade::class, 'JwtValidation' => Ammadeuss\LaravelJwt\JwtValidationFacade::class,
Usage
$token = Jwt::createBuilder()->with('uid', 1);