jc-it / yii2-oauth2-server
为 Yii2 框架实现的 PHP League OAuth2 Server
dev-master
2024-01-24 12:03 UTC
Requires
- php: >=8.0
- jc-it/yii2-model-magic: ^2.0.1
- kartik-v/yii2-password: ^1.5.6
- league/oauth2-server: ^8.3.3
- unclead/yii2-multiple-input: ^2.26.2
- yiisoft/yii2: ~2.0.42
- yiisoft/yii2-bootstrap4: ^2.0.10
This package is auto-updated.
Last update: 2024-08-24 13:17:01 UTC
README
此扩展为 Yii2 框架提供 The PHP League: OAuth 2.0 Server 模块。
The PHP League: OAuth 2.0 Server 是一个使设置 OAuth2 服务器变得简单的包。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一:
$ composer require jc-it/yii2-oauth2-server
或者将以下内容添加到您的 composer.json
文件的 require
部分:
"jc-it/yii2-oauth2-server": "^<latest version>"
配置
- 模块配置
- 用户仓库配置(在 DI 或模块中)