Skip to content

Commit c72dca5

Browse files
authored
Moved database and http-server to suggestions (#6622)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
1 parent 1ddb546 commit c72dca5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
"hyperf/collection": "~3.1.0",
2424
"hyperf/conditionable": "~3.1.0",
2525
"hyperf/contract": "~3.1.0",
26-
"hyperf/database": "~3.1.0",
2726
"hyperf/di": "~3.1.0",
2827
"hyperf/framework": "~3.1.0",
29-
"hyperf/http-server": "~3.1.0",
3028
"hyperf/macroable": "~3.1.0",
3129
"hyperf/tappable": "~3.1.0",
3230
"hyperf/translation": "~3.1.0",
@@ -38,6 +36,10 @@
3836
"psr/event-dispatcher": "^1.0",
3937
"psr/http-message": "^1.0|^2.0"
4038
},
39+
"suggest": {
40+
"hyperf/database": "Required if you want to use the database validation rule (~3.1.0).",
41+
"hyperf/http-server": "Required if you want to use the request validation rule (~3.1.0)."
42+
},
4143
"config": {
4244
"sort-packages": true
4345
},

0 commit comments

Comments
 (0)