pay/composer.json
yansongda afcd6293ac
refactor: v3.1 (#579)
refactor: 去掉 phpdi 依赖 #573
refactor: 完全支持 psr/container 标准 #574
feat: 自动识别 laravel, hyperf, thinkphp 的 container #577
fix: laravel项目安装失败 #571
feat: 兼容 php8.1 解决 deprecated #582
2022-03-05 21:59:11 +08:00

68 lines
2.1 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": ">=7.4",
"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.0",
"yansongda/supports": "~3.2.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"
},
"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请安装",
"php-di/php-di": "其它/无框架下使用 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"
}
}