| Package Data | |
|---|---|
| Maintainer Username: | ammadeuss |
| Maintainer Contact: | raducan@ammadeuss.ro (Ammadeuss Raducan) |
| Package Create Date: | 2017-03-02 |
| Package Last Update: | 2017-03-14 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 15:04:06 |
| Package Statistics | |
|---|---|
| Total Downloads: | 26 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Laravel wrapper for the lcobucci/jwt package
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,
$token = Jwt::createBuilder()->with('uid', 1);