2021-11-30 18:20:42 +08:00
|
|
|
{
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"AIO\\": ["src/"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"require": {
|
2023-05-11 02:40:04 +08:00
|
|
|
"php": "8.2.*",
|
2021-11-30 18:20:42 +08:00
|
|
|
"ext-json": "*",
|
|
|
|
"ext-sodium": "*",
|
|
|
|
"ext-curl": "*",
|
2023-01-23 02:32:19 +08:00
|
|
|
"slim/slim": "^4.11",
|
|
|
|
"php-di/slim-bridge": "^3.3",
|
|
|
|
"guzzlehttp/guzzle": "^7.5",
|
|
|
|
"guzzlehttp/psr7": "^2.4",
|
|
|
|
"http-interop/http-factory-guzzle": "^1.2",
|
|
|
|
"slim/twig-view": "^3.3",
|
|
|
|
"slim/csrf": "^1.3",
|
2023-09-26 21:57:22 +08:00
|
|
|
"ext-apcu": "*"
|
2022-03-01 00:07:19 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"psalm": "psalm --threads=1",
|
2022-05-25 21:35:36 +08:00
|
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
|
2022-11-06 04:42:30 +08:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l {} \\;",
|
2023-05-11 02:40:04 +08:00
|
|
|
"php-deprecation-detector": "find . -name \\*.php -not -path './vendor/*' -exec phpdd scan {} -n -t 8.2 \\;"
|
2022-03-01 00:07:19 +08:00
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|