Skip to content

Commit

Permalink
更新hyperf2.0依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
qbhy committed Jun 22, 2020
1 parent 020a459 commit f015128
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ hyperf 的 auth 组件,目前支持 jwt、session 驱动。用户可以自行
```bash
$ composer require 96qbhy/hyperf-auth
```
> hyperf 1.1 请使用 ^v1.0 版本
## 配置 - configuration
使用 `Qbhy\HyperfAuth\AuthExceptionHandler` ,此步骤可选,开发者可以自行捕捉 `AuthException``JWTException` 进行处理
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"php": ">=7.2",
"ext-swoole": ">=4.4",
"96qbhy/simple-jwt": "^v1.2",
"hyperf/cache": "^1.1",
"hyperf/di": "1.1.*",
"hyperf/cache": "^2.0",
"hyperf/di": "^2.0",
"ext-json": "*"
},
"suggest": {
Expand All @@ -36,14 +36,14 @@
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.14",
"hyperf/command": "^1.1",
"hyperf/config": "^1.1",
"hyperf/database": "^1.1",
"hyperf/framework": "^1.1",
"hyperf/redis": "^1.1",
"hyperf/session": "^1.1",
"hyperf/testing": "1.1.*",
"phpstan/phpstan": "^0.10.5",
"hyperf/command": "^2.0",
"hyperf/config": "^2.0",
"hyperf/database": "^2.0",
"hyperf/framework": "^2.0",
"hyperf/redis": "^2.0",
"hyperf/session": "^2.0",
"hyperf/testing": "^2.0",
"phpstan/phpstan": "^0.12",
"swoft/swoole-ide-helper": "dev-master"
},
"config": {
Expand Down

0 comments on commit f015128

Please sign in to comment.