You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
{
|
|
"name": "yurunsoft/guzzle-swoole",
|
|
"type": "composer-plugin",
|
|
"license": "MIT",
|
|
"description": "让 Guzzle 支持 Swoole 协程,可以用于 ElasticSearch、AWS 等 SDK 当中",
|
|
"require": {
|
|
"php": ">=7.1",
|
|
"composer-plugin-api": "^1.0|^2.0",
|
|
"yurunsoft/composer-include-files": "^1.0|^2.0",
|
|
"yurunsoft/yurun-http": "^4.0",
|
|
"guzzlehttp/guzzle": "~6.0|~7.0",
|
|
"guzzlehttp/ringphp": "~1.0"
|
|
},
|
|
"require-dev": {
|
|
"swoole/ide-helper": "*",
|
|
"composer/composer": "^1.0|^2.0",
|
|
"phpunit/phpunit": ">=7"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Yurun\\Util\\Swoole\\Guzzle\\": "src/",
|
|
"GuzzleHttp\\": "src/GuzzleHttp/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Yurun\\Util\\Swoole\\Guzzle\\Test\\": "tests/test/"
|
|
}
|
|
},
|
|
"prefer-stable": true,
|
|
"extra": {
|
|
"class": "Yurun\\Util\\Swoole\\Guzzle\\Plugin\\Plugin",
|
|
"include_files": [
|
|
"src/load_include.php",
|
|
"src/functions.php"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"post-autoload-dump": [
|
|
"Yurun\\Util\\Swoole\\Guzzle\\Plugin\\Plugin::dev"
|
|
],
|
|
"test": "./tests/run",
|
|
"test-guzzle": "./tests/test-guzzle"
|
|
}
|
|
} |