2021-11-30 18:20:42 +08:00
|
|
|
{
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"AIO\\": ["src/"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"require": {
|
2023-01-13 20:26:38 +08:00
|
|
|
"php": "8.1.*",
|
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",
|
2021-11-30 18:20:42 +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 {} \\;",
|
2022-12-24 00:02:47 +08:00
|
|
|
"php-deprecation-detector": "find . -name \\*.php -not -path './vendor/*' -exec phpdd scan {} -n -t 8.1 \\;"
|
2022-03-01 00:07:19 +08:00
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|