pay/composer.json
2024-08-04 23:14:23 +08:00

64 lines
1.8 KiB
JSON

{
"name": "yansongda/pay",
"description": "可能是我用过的最优雅的 Alipay 和 WeChat 的支付 SDK 扩展包了",
"keywords": ["alipay", "wechat", "pay"],
"type": "library",
"license": "MIT",
"support": {
"issues": "https://github.com/yansongda/pay/issues",
"source": "https://github.com/yansongda/pay",
"homepage": "https://pay.yansongda.cn"
},
"authors": [
{
"name": "yansongda",
"email": "me@yansongda.cn"
}
],
"require": {
"php": ">=8.0",
"ext-openssl": "*",
"ext-simplexml":"*",
"ext-libxml": "*",
"ext-json": "*",
"ext-bcmath": "*",
"yansongda/artful": "~1.1.1",
"yansongda/supports": "~4.0.10"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.4",
"friendsofphp/php-cs-fixer": "^3.44",
"phpstan/phpstan": "^1.0.0",
"monolog/monolog": "^2.2",
"symfony/var-dumper": "^5.1",
"symfony/http-foundation": "^5.2.0",
"symfony/event-dispatcher": "^5.2.0",
"symfony/psr-http-message-bridge": "^2.1",
"hyperf/pimple": "^2.2",
"guzzlehttp/guzzle": "^7.0",
"jetbrains/phpstorm-attributes": "^1.1"
},
"conflict": {
"hyperf/framework": "<3.0"
},
"autoload": {
"psr-4": {
"Yansongda\\Pay\\": "src"
},
"files": [
"src/Functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Yansongda\\Pay\\Tests\\": "tests"
}
},
"scripts": {
"test": "./vendor/bin/phpunit -c phpunit.xml --colors=always",
"cs-fix": "php-cs-fixer fix --dry-run --diff 1>&2",
"analyse": "phpstan analyse --memory-limit 300M -l 5 -c phpstan.neon ./src"
}
}