mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
* add initial windows runtime setup * add cool console output * doctor support windows base * add `add-path` and `remove-path` for bin/setup-runtime * fix composer.ps1 path * add windows system util * add windows cmd and doctor base check * add windows fallback for laravel/prompts * cd fix [skip ci] * dir separator and typo fix [skip ci]
59 lines
1.5 KiB
JSON
59 lines
1.5 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.1",
|
|
"ext-mbstring": "*",
|
|
"laravel/prompts": "^0.1.12",
|
|
"symfony/console": "^5.4 || ^6 || ^7",
|
|
"zhamao/logger": "^1.0"
|
|
},
|
|
"require-dev": {
|
|
"captainhook/captainhook": "^5.10",
|
|
"captainhook/plugin-composer": "^5.3",
|
|
"friendsofphp/php-cs-fixer": "^3.25",
|
|
"humbug/box": "^4.3",
|
|
"nunomaduro/collision": "^7.8",
|
|
"phpstan/phpstan": "^1.10",
|
|
"phpunit/phpunit": "^10.3"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"SPC\\": "src/SPC"
|
|
},
|
|
"files": [
|
|
"src/globals/defines.php",
|
|
"src/globals/functions.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"SPC\\Tests\\": "tests/SPC"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin/spc"
|
|
],
|
|
"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"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"phpstan/extension-installer": true,
|
|
"captainhook/plugin-composer": true
|
|
},
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true
|
|
}
|
|
}
|