123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {
- "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"
- }
- }
|