ammadeuss/laravel-jwt

Laravel wrapper for the lcobucci/jwt package
26
Install
composer require ammadeuss/laravel-jwt
Latest Version:v1.0
License:MIT
Last Updated:Mar 14, 2017
Links: GitHub  ·  Packagist
Maintainer: ammadeuss

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

Related Packages

maystro/filament-popup-modal

A comprehensive modal dialog system for FilamentPHP with progress bars, callback...

8 1
wobeto/twitter

Laravel 4 Service Provider to interact with twitter account, like return a colle...

135 1
andrewmclagan/api

A RESTful API package for the Laravel and Lumen frameworks.

18 0