2021-11-30 18:20:42 +08:00
|
|
|
{
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"AIO\\": ["src/"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"require": {
|
2022-01-18 04:49:15 +08:00
|
|
|
"php": "^8.0",
|
2021-11-30 18:20:42 +08:00
|
|
|
"ext-json": "*",
|
|
|
|
"ext-sodium": "*",
|
|
|
|
"ext-curl": "*",
|
|
|
|
"slim/slim": "4.*",
|
|
|
|
"php-di/slim-bridge": "^3.1",
|
|
|
|
"guzzlehttp/guzzle": "^7.3",
|
2022-01-28 20:12:28 +08:00
|
|
|
"guzzlehttp/psr7": "^2.1.0",
|
2021-11-30 18:20:42 +08:00
|
|
|
"http-interop/http-factory-guzzle": "^1.2",
|
|
|
|
"slim/twig-view": "^3.2",
|
|
|
|
"slim/csrf": "^1.2",
|
|
|
|
"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",
|
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l"
|
2022-03-01 00:07:19 +08:00
|
|
|
}
|
2021-11-30 18:20:42 +08:00
|
|
|
}
|