ammadeuss/laravel-jwt
Composer 安装命令:
composer require ammadeuss/laravel-jwt
包简介
Laravel wrapper for the lcobucci/jwt package
关键字:
README 文档
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);
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-02