Download the PHP package yangjisen/quick-passport without Composer
On this page you can find all versions of the php package yangjisen/quick-passport. 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 quick-passport
说明
- Laravel Passport 是一个简单易用的 OAuth2 服务器和 API 认证包。
- 由于经常需要配置 Passport, 所以写了一个快速安装配置packages.
- 本包只是简单的配置了 Passport, 并简单配置了缓存
安装
命令行
快速安装配置Passport 相当于执行 和
在env文件中根据数据库生成client_id和client_secret
路由
- 账号密码/手机验证码登录
POST /passport/issueToken {"username":"foo", "password":"bar"}
- 小程序登录一键登录
POST /passport/programToken {"js_code":"login code", "code": "code", "iv":"iv", "encryptedData": "encryptedData"}
- 退出登录
POST /passport/login 退出登录
All versions of quick-passport with dependencies
PHP Build Version
Package Version
Requires
laravel/passport Version
^11.7
The package yangjisen/quick-passport contains the following files
Loading the files please wait ....