static-php-cli/composer.json

73 lines
2.0 KiB
JSON
Raw Normal View History

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": {
2025-11-30 15:35:04 +08:00
"php": ">=8.4",
"ext-mbstring": "*",
2024-10-03 14:52:46 +08:00
"ext-zlib": "*",
2025-11-30 15:35:04 +08:00
"laravel/prompts": "~0.1",
"nette/php-generator": "^4.2",
2025-11-30 15:35:04 +08:00
"php-di/php-di": "^7.1",
"symfony/console": "^5.4 || ^6 || ^7",
"symfony/process": "^7.2",
"symfony/yaml": "^7.2",
2025-11-30 15:35:04 +08:00
"zhamao/logger": "^1.1.4"
2023-03-15 20:40:49 +08:00
},
"require-dev": {
"captainhook/captainhook-phar": "^5.23",
"captainhook/hook-installer": "^1.0",
"friendsofphp/php-cs-fixer": "^3.60",
2024-10-03 15:16:38 +08:00
"humbug/box": "^4.5.0 || ^4.6.0",
"phpstan/phpstan": "^1.10",
2024-10-03 15:16:38 +08:00
"phpunit/phpunit": "^10.3 || ^9.5"
2023-03-15 20:40:49 +08:00
},
"autoload": {
"psr-4": {
2025-11-30 15:35:04 +08:00
"SPC\\": "src/SPC",
"StaticPHP\\": "src/StaticPHP",
"Package\\": "src/Package"
2023-03-15 20:40:49 +08:00
},
"files": [
"src/globals/defines.php",
"src/globals/functions.php"
]
},
2023-09-05 12:28:12 +02:00
"autoload-dev": {
"psr-4": {
"Tests\\StaticPHP\\": "tests/StaticPHP"
2023-09-05 12:28:12 +02:00
}
},
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",
"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/hook-installer": true,
"captainhook/plugin-composer": true,
"captainhook/captainhook-phar": true
2023-03-15 20:40:49 +08:00
},
"optimize-autoloader": true,
"sort-packages": true
},
"funding": [
{
"type": "other",
"url": "https://github.com/crazywhalecc/crazywhalecc/blob/master/FUNDING.md"
}
]
2023-03-15 20:40:49 +08:00
}