LaravelPackages.net
Acme Inc.
Toggle sidebar
ammadeuss/laravel-jwt

Laravel wrapper for the lcobucci/jwt package

26
0
v1.0
About ammadeuss/laravel-jwt

ammadeuss/laravel-jwt is a Laravel package for laravel wrapper for the lcobucci/jwt package. It currently has 0 GitHub stars and 26 downloads on Packagist (latest version v1.0). Install it with composer require ammadeuss/laravel-jwt. Discover more Laravel packages by ammadeuss or browse all Laravel packages to compare alternatives.

Last updated

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