Files
hdk-pay/composer.json
2024-12-06 10:30:44 +00:00

67 lines
1.7 KiB
JSON
Executable File

{
"name": "singularity/hdk-pay",
"license": "MIT",
"type": "library",
"description": "支付平台",
"autoload": {
"psr-4": {
"Singularity\\HDK\\Pay\\": "src/"
}
},
"extra": {
"hyperf": {
"config": "Singularity\\HDK\\Pay\\ConfigProvider"
}
},
"require": {
"php": ">=8.2",
"composer/composer": ">=2.5.8",
"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",
"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"
},
"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.0.0-beta.2"
}