ammadeuss / laravel-jwt by ammadeuss

Laravel wrapper for the lcobucci/jwt package
24
0
2
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: 2024-05-04 15:06:51
Package Statistics
Total Downloads: 24
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

laravel-jwt

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);