Download the PHP package cncoders/thinkphp-auth without Composer
On this page you can find all versions of the php package cncoders/thinkphp-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package thinkphp-auth
thinkphp-auth
基于thinkphp6开发的一个JWT权限验证插件
使用方法
1. 安装
2. 配置文件
将安装包内的config/jwt.php复制到thinkphp配置目录
3. 异常处理
如果需要对异常处理成JSON接口可用的格式可以在app\ExceptionHandle.php增加相应的异常处理示例如下:
4.使用示例:
路由使用 单独使用版本判断可以不用配置jwt
版本判断不支持路由缓存
auther使用
All versions of thinkphp-auth with dependencies
PHP Build Version
Package Version
The package cncoders/thinkphp-auth contains the following files
Loading the files please wait ....