Skip to content

Commit f384764

Browse files
committed
feat: Upgrade to PHP 8.0 and PHP-Casbin 4.0
1 parent 39752e4 commit f384764

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

composer.json

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "casbin/webman-permission",
33
"keywords": [
44
"webman",
5+
"workerman",
56
"casbin",
67
"permission",
78
"access-control",
@@ -21,12 +22,12 @@
2122
"type": "library",
2223
"license": "MIT",
2324
"require": {
24-
"php": ">=7.4",
25-
"casbin/casbin": "^3.20",
26-
"topthink/think-orm": "^2.0|^3.0",
27-
"php-di/php-di": "^6.3|^7.0",
25+
"php": ">=8.0",
26+
"casbin/casbin": "~4.0",
27+
"topthink/think-orm": "^3.0",
28+
"php-di/php-di": "^7.0",
2829
"doctrine/annotations": "^1.13",
29-
"workerman/redis": "^1.0|^2.0"
30+
"workerman/redis": "^2.0"
3031
},
3132
"autoload": {
3233
"psr-4": {
@@ -39,7 +40,7 @@
3940
}
4041
},
4142
"require-dev": {
42-
"phpunit/phpunit": "~7.0|~8.0|~9.0",
43+
"phpunit/phpunit": "~8.0|~9.0",
4344
"php-coveralls/php-coveralls": "^2.1",
4445
"workerman/webman": "^1.0",
4546
"vlucas/phpdotenv": "^5.5",

0 commit comments

Comments
 (0)