pay/composer.json
李铭昕 de827f7a59
change: 只支持 hyperf3.x 版本 (#815)
* Only support Hyperf 3.x

* changelog

---------

Co-authored-by: yansongda <me@yansongda.cn>
2023-06-27 17:54:37 +08:00

72 lines
2.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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": "*",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"psr/container": "^1.1 || ^2.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.1 || ^2.0",
"yansongda/supports": "~4.0.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.4",
"friendsofphp/php-cs-fixer": "^3.0",
"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",
"guzzlehttp/guzzle": "^7.0",
"hyperf/pimple": "^2.2"
},
"conflict": {
"hyperf/framework": "<3.0"
},
"autoload": {
"psr-4": {
"Yansongda\\Pay\\": "src"
},
"files": [
"src/Functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Yansongda\\Pay\\Tests\\": "tests"
}
},
"suggest": {
"illuminate/container": "Laravel 框架下使用 SDK请安装",
"hyperf/utils": "Hyperf 框架下使用 SDK请安装",
"hyperf/pimple": "其它/无框架下使用 SDK请安装"
},
"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"
}
}