2023-03-15 20:40:49 +08:00
|
|
|
{
|
2023-03-19 14:09:28 +08:00
|
|
|
"name": "crazywhalecc/static-php-cli",
|
|
|
|
|
"description": "Build single static PHP binary, with PHP project together, with popular extensions included.",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"authors": [
|
|
|
|
|
{
|
|
|
|
|
"name": "jerry",
|
|
|
|
|
"email": "admin@zhamao.me"
|
|
|
|
|
}
|
|
|
|
|
],
|
2023-03-15 20:40:49 +08:00
|
|
|
"require": {
|
2023-08-08 20:23:38 +08:00
|
|
|
"php": ">= 8.1",
|
|
|
|
|
"ext-mbstring": "*",
|
2023-08-08 20:29:10 +08:00
|
|
|
"ext-pcntl": "*",
|
|
|
|
|
"laravel/prompts": "^0.1.3",
|
2023-09-06 09:04:24 +02:00
|
|
|
"symfony/console": "^5.4 || ^6 || ^7",
|
2023-08-08 20:23:38 +08:00
|
|
|
"zhamao/logger": "^1.0"
|
2023-03-15 20:40:49 +08:00
|
|
|
},
|
|
|
|
|
"require-dev": {
|
2023-09-05 12:28:12 +02:00
|
|
|
"captainhook/captainhook": "^5.10",
|
|
|
|
|
"captainhook/plugin-composer": "^5.3",
|
2023-09-06 09:04:24 +02:00
|
|
|
"friendsofphp/php-cs-fixer": "^3.25",
|
2023-09-12 10:42:40 +02:00
|
|
|
"humbug/box": "^4.3",
|
2023-09-06 09:04:24 +02:00
|
|
|
"nunomaduro/collision": "^7.8",
|
|
|
|
|
"phpstan/phpstan": "^1.10",
|
2023-09-05 12:28:12 +02:00
|
|
|
"phpunit/phpunit": "^10.3"
|
2023-03-15 20:40:49 +08:00
|
|
|
},
|
|
|
|
|
"autoload": {
|
|
|
|
|
"psr-4": {
|
|
|
|
|
"SPC\\": "src/SPC"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"src/globals/defines.php",
|
|
|
|
|
"src/globals/functions.php"
|
|
|
|
|
]
|
|
|
|
|
},
|
2023-09-05 12:28:12 +02:00
|
|
|
"autoload-dev": {
|
|
|
|
|
"psr-4": {
|
|
|
|
|
"SPC\\Tests\\": "tests/SPC"
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-03-15 20:40:49 +08:00
|
|
|
"bin": [
|
2023-03-18 17:39:08 +08:00
|
|
|
"bin/spc"
|
2023-03-15 20:40:49 +08:00
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"analyse": "phpstan analyse --memory-limit 300M",
|
|
|
|
|
"cs-fix": "php-cs-fixer fix",
|
2023-09-12 10:42:40 +02:00
|
|
|
"test": "vendor/bin/phpunit tests/ --no-coverage",
|
|
|
|
|
"build:phar": "vendor/bin/box compile"
|
2023-03-15 20:40:49 +08:00
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"allow-plugins": {
|
|
|
|
|
"phpstan/extension-installer": true,
|
|
|
|
|
"captainhook/plugin-composer": true
|
|
|
|
|
},
|
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
|
"sort-packages": true
|
|
|
|
|
}
|
|
|
|
|
}
|