Files
hdk-pay/composer.json
2025-08-20 20:00:51 +08:00

75 lines
1.8 KiB
JSON
Executable File

{
"name": "singularity/hdk-pay",
"license": "MIT",
"type": "library",
"description": "支付平台",
"autoload": {
"psr-4": {
"Singularity\\HDK\\Pay\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Singularity\\HDK\\Test\\Pay\\": "tests/"
}
},
"extra": {
"hyperf": {
"config": "Singularity\\HDK\\Pay\\ConfigProvider"
}
},
"require": {
"php": ">=8.2",
"ext-bcmath": "*",
"composer/composer": ">=2.7.7",
"hyperf/config": "~3.1.0",
"hyperf/constants": "3.1.*",
"hyperf/contract": "~3.1.0",
"hyperf/di": "~3.1.0",
"hyperf/guzzle": "3.1.*",
"hyperf/http-server": "^3.1",
"moneyphp/money": "^4.1",
"nesbot/carbon": "*",
"singularity/hdk-core": "^1.0.0"
},
"require-dev": {
"firebase/php-jwt": "^6.8.0",
"hyperf/testing": "^3.1",
"friendsofhyperf/pest-plugin-hyperf": "3.1.*",
"swoole/ide-helper": "^4.8.13",
"nesbot/carbon": "^2.0"
},
"minimum-stability": "beta",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"test": [
"rm -rf runtime",
"Composer\\Config::disableProcessTimeout",
"APP_STATUS=false pest --coroutine --prepend=tests/bootstrap.php --colors=always $1"
],
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config"
},
"repositories": {
"nest": {
"type": "composer",
"url": "https://nest.doylee.cn/api/packages/HDK/composer"
},
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
}
},
"version": "1.2.3"
}