mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"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"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.4",
|
|
"ext-mbstring": "*",
|
|
"ext-zlib": "*",
|
|
"laravel/prompts": "~0.1",
|
|
"php-di/php-di": "^7.1",
|
|
"symfony/console": "^5.4 || ^6 || ^7",
|
|
"symfony/process": "^7.2",
|
|
"symfony/yaml": "^7.2",
|
|
"zhamao/logger": "^1.1.4"
|
|
},
|
|
"require-dev": {
|
|
"captainhook/captainhook-phar": "^5.23",
|
|
"captainhook/hook-installer": "^1.0",
|
|
"friendsofphp/php-cs-fixer": "^3.60",
|
|
"humbug/box": "^4.5.0 || ^4.6.0",
|
|
"phpstan/phpstan": "^2.1",
|
|
"phpunit/phpunit": "^10.3 || ^9.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"SPC\\": "src/SPC",
|
|
"StaticPHP\\": "src/StaticPHP",
|
|
"Package\\": "src/Package"
|
|
},
|
|
"files": [
|
|
"src/globals/defines.php",
|
|
"src/globals/functions.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\StaticPHP\\": "tests/StaticPHP"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin/spc"
|
|
],
|
|
"scripts": {
|
|
"analyse": "phpstan analyse --memory-limit 300M",
|
|
"cs-fix": "php-cs-fixer fix",
|
|
"lint-config": "bin/spc dev:lint-config",
|
|
"test": "vendor/bin/phpunit tests/ --no-coverage",
|
|
"build:phar": "vendor/bin/box compile"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"phpstan/extension-installer": true,
|
|
"captainhook/hook-installer": true,
|
|
"captainhook/plugin-composer": true,
|
|
"captainhook/captainhook-phar": true
|
|
},
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true
|
|
},
|
|
"funding": [
|
|
{
|
|
"type": "other",
|
|
"url": "https://github.com/crazywhalecc/crazywhalecc/blob/master/FUNDING.md"
|
|
}
|
|
]
|
|
}
|