hyperf/composer.json
2019-08-27 13:30:24 +08:00

279 lines
12 KiB
JSON

{
"name": "hyperf/hyperf",
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices or middlewares.",
"license": "Apache-2.0",
"keywords": [
"php",
"swoole",
"hyperf"
],
"support": {},
"require": {
"php": ">=7.2",
"ext-json": "*",
"bandwidth-throttle/token-bucket": "^2.0",
"doctrine/annotations": "^1.6",
"doctrine/inflector": "^1.3",
"doctrine/instantiator": "^1.0",
"elasticsearch/elasticsearch": "^6.1",
"fig/http-message-util": "^1.1.2",
"google/protobuf": "^3.6.1",
"grpc/grpc": "^1.15",
"guzzlehttp/guzzle": "^6.3",
"jean85/pretty-package-versions": "^1.2",
"monolog/monolog": "^1.24",
"nesbot/carbon": "^2.0",
"nikic/fast-route": "^1.3",
"nikic/php-parser": "^4.1",
"openzipkin/zipkin": "^1.3.2",
"php-amqplib/php-amqplib": "^2.7",
"php-di/phpdoc-reader": "^2.0.1",
"psr/container": "^1.0",
"psr/event-dispatcher": "^0.7",
"psr/http-message": "^1.0.1",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.0",
"psr/simple-cache": "^1.0",
"squizlabs/php_codesniffer": "^3.4",
"symfony/console": "^4.2",
"symfony/finder": "^4.1",
"vlucas/phpdotenv": "^3.1"
},
"require-dev": {
"doctrine/common": "@stable",
"friendsofphp/php-cs-fixer": "^2.14",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"php-di/php-di": "^6.0",
"phpstan/phpstan": "^0.11.15",
"phpunit/phpunit": "^7.0.0",
"swoft/swoole-ide-helper": "dev-master",
"symfony/property-access": "^4.3",
"symfony/serializer": "^4.3"
},
"replace": {
"hyperf/amqp": "self.version",
"hyperf/async-queue": "self.version",
"hyperf/circuit-breaker": "self.version",
"hyperf/cache": "self.version",
"hyperf/command": "self.version",
"hyperf/config": "self.version",
"hyperf/config-apollo": "self.version",
"hyperf/config-etcd": "self.version",
"hyperf/constants": "self.version",
"hyperf/consul": "self.version",
"hyperf/contract": "self.version",
"hyperf/database": "self.version",
"hyperf/db-connection": "self.version",
"hyperf/devtool": "self.version",
"hyperf/di": "self.version",
"hyperf/dispatcher": "self.version",
"hyperf/elasticsearch": "self.version",
"hyperf/etcd": "self.version",
"hyperf/event": "self.version",
"hyperf/exception-handler": "self.version",
"hyperf/framework": "self.version",
"hyperf/graphql": "self.version",
"hyperf/grpc": "self.version",
"hyperf/grpc-client": "self.version",
"hyperf/grpc-server": "self.version",
"hyperf/guzzle": "self.version",
"hyperf/http-message": "self.version",
"hyperf/http-server": "self.version",
"hyperf/logger": "self.version",
"hyperf/memory": "self.version",
"hyperf/model-cache": "self.version",
"hyperf/paginator": "self.version",
"hyperf/pool": "self.version",
"hyperf/process": "self.version",
"hyperf/rate-limit": "self.version",
"hyperf/redis": "self.version",
"hyperf/server": "self.version",
"hyperf/service-governance": "self.version",
"hyperf/swagger": "self.version",
"hyperf/swoole-enterprise": "self.version",
"hyperf/task": "self.version",
"hyperf/tracer": "self.version",
"hyperf/utils": "self.version",
"hyperf/view": "self.version",
"hyperf/websocket-client": "self.version",
"hyperf/websocket-server": "self.version"
},
"suggest": {},
"autoload": {
"files": [
"src/config/src/Functions.php",
"src/di/src/Functions.php",
"src/utils/src/Functions.php"
],
"psr-4": {
"Hyperf\\Amqp\\": "src/amqp/src/",
"Hyperf\\AsyncQueue\\": "src/async-queue/src/",
"Hyperf\\Cache\\": "src/cache/src/",
"Hyperf\\CircuitBreaker\\": "src/circuit-breaker/src/",
"Hyperf\\Command\\": "src/command/src/",
"Hyperf\\ConfigAliyunAcm\\": "src/config-aliyun-acm/src/",
"Hyperf\\ConfigApollo\\": "src/config-apollo/src/",
"Hyperf\\ConfigEtcd\\": "src/config-etcd/src/",
"Hyperf\\Config\\": "src/config/src/",
"Hyperf\\Constants\\": "src/constants/src/",
"Hyperf\\Consul\\": "src/consul/src/",
"Hyperf\\Contract\\": "src/contract/src/",
"Hyperf\\Crontab\\": "src/crontab/src/",
"Hyperf\\Database\\": "src/database/src/",
"Hyperf\\DbConnection\\": "src/db-connection/src/",
"Hyperf\\Devtool\\": "src/devtool/src/",
"Hyperf\\Di\\": "src/di/src/",
"Hyperf\\Dispatcher\\": "src/dispatcher/src/",
"Hyperf\\Elasticsearch\\": "src/elasticsearch/src/",
"Hyperf\\Etcd\\": "src/etcd/src/",
"Hyperf\\Event\\": "src/event/src/",
"Hyperf\\ExceptionHandler\\": "src/exception-handler/src/",
"Hyperf\\Framework\\": "src/framework/src/",
"Hyperf\\GraphQL\\": "src/graphql/src/",
"Hyperf\\GrpcClient\\": "src/grpc-client/src/",
"Hyperf\\GrpcServer\\": "src/grpc-server/src/",
"Hyperf\\Grpc\\": "src/grpc/src/",
"Hyperf\\Guzzle\\": "src/guzzle/src/",
"Hyperf\\HttpMessage\\": "src/http-message/src/",
"Hyperf\\HttpServer\\": "src/http-server/src/",
"Hyperf\\JsonRpc\\": "src/json-rpc/src/",
"Hyperf\\LoadBalancer\\": "src/load-balancer/src/",
"Hyperf\\Logger\\": "src/logger/src/",
"Hyperf\\Memory\\": "src/memory/src/",
"Hyperf\\ModelCache\\": "src/model-cache/src/",
"Hyperf\\ModelListener\\": "src/model-listener/src/",
"Hyperf\\Paginator\\": "src/paginator/src/",
"Hyperf\\Pool\\": "src/pool/src/",
"Hyperf\\Process\\": "src/process/src/",
"Hyperf\\RateLimit\\": "src/rate-limit/src/",
"Hyperf\\Redis\\": "src/redis/src/",
"Hyperf\\RpcClient\\": "src/rpc-client/src/",
"Hyperf\\RpcServer\\": "src/rpc-server/src/",
"Hyperf\\Rpc\\": "src/rpc/src/",
"Hyperf\\Server\\": "src/server/src/",
"Hyperf\\ServiceGovernance\\": "src/service-governance/src/",
"Hyperf\\Snowflake\\": "src/snowflake/src/",
"Hyperf\\Swagger\\": "src/swagger/src/",
"Hyperf\\SwooleEnterprise\\": "src/swoole-enterprise/src/",
"Hyperf\\Task\\": "src/task/src/",
"Hyperf\\Testing\\": "src/testing/src/",
"Hyperf\\Tracer\\": "src/tracer/src/",
"Hyperf\\Utils\\": "src/utils/src/",
"Hyperf\\View\\": "src/view/src/",
"Hyperf\\WebSocketClient\\": "src/websocket-client/src/",
"Hyperf\\WebSocketServer\\": "src/websocket-server/src/"
}
},
"autoload-dev": {
"psr-4": {
"GPBMetadata\\": "src/grpc-client/tests/GPBMetadata/",
"Grpc\\": "src/grpc-client/tests/Grpc/",
"HyperfTest\\Amqp\\": "src/amqp/tests/",
"HyperfTest\\AsyncQueue\\": "src/async-queue/tests/",
"HyperfTest\\Cache\\": "src/cache/tests/",
"HyperfTest\\ConfigAliyunAcm\\": "src/config-aliyun-acm/tests/",
"HyperfTest\\ConfigApollo\\": "src/config-apollo/tests/",
"HyperfTest\\ConfigEtcd\\": "src/config-etcd/tests/",
"HyperfTest\\Config\\": "src/config/tests/",
"HyperfTest\\Constants\\": "src/constants/tests/",
"HyperfTest\\Consul\\": "src/consul/tests/",
"HyperfTest\\Crontab\\": "src/crontab/tests/",
"HyperfTest\\Database\\": "src/database/tests/",
"HyperfTest\\DbConnection\\": "src/db-connection/tests/",
"HyperfTest\\Di\\": "src/di/tests/",
"HyperfTest\\Dispatcher\\": "src/dispatcher/tests/",
"HyperfTest\\Elasticsearch\\": "src/elasticsearch/tests/",
"HyperfTest\\Etcd\\": "src/etcd/tests/",
"HyperfTest\\Event\\": "src/event/tests/",
"HyperfTest\\GrpcClient\\": "src/grpc-client/tests/",
"HyperfTest\\Guzzle\\": "src/guzzle/tests/",
"HyperfTest\\HttpMessage\\": "src/http-message/tests/",
"HyperfTest\\HttpServer\\": "src/http-server/tests/",
"HyperfTest\\JsonRpc\\": "src/json-rpc/tests/",
"HyperfTest\\LoadBalancer\\": "src/load-balancer/tests/",
"HyperfTest\\Logger\\": "src/logger/tests/",
"HyperfTest\\ModelCache\\": "src/model-cache/tests/",
"HyperfTest\\ModelListener\\": "src/model-listener/tests/",
"HyperfTest\\Paginator\\": "src/paginator/tests/",
"HyperfTest\\Pool\\": "src/pool/tests/",
"HyperfTest\\Process\\": "src/process/tests/",
"HyperfTest\\Redis\\": "src/redis/tests/",
"HyperfTest\\Rpc\\": "src/rpc/tests/",
"HyperfTest\\Server\\": "src/server/tests/",
"HyperfTest\\ServiceGovernance\\": "src/service-governance/tests/",
"HyperfTest\\Snowflake\\": "src/snowflake/tests/",
"HyperfTest\\Task\\": "src/task/tests/",
"HyperfTest\\Testing\\": "src/testing/tests/",
"HyperfTest\\Utils\\": "src/utils/tests/",
"HyperfTest\\WebSocketClient\\": "src/websocket-client/tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {},
"hyperf": {
"config": [
"Hyperf\\Amqp\\ConfigProvider",
"Hyperf\\AsyncQueue\\ConfigProvider",
"Hyperf\\Cache\\ConfigProvider",
"Hyperf\\CircuitBreaker\\ConfigProvider",
"Hyperf\\ConfigAliyunAcm\\ConfigProvider",
"Hyperf\\ConfigApollo\\ConfigProvider",
"Hyperf\\ConfigEtcd\\ConfigProvider",
"Hyperf\\Config\\ConfigProvider",
"Hyperf\\Consul\\ConfigProvider",
"Hyperf\\Crontab\\ConfigProvider",
"Hyperf\\DbConnection\\ConfigProvider",
"Hyperf\\Devtool\\ConfigProvider",
"Hyperf\\Di\\ConfigProvider",
"Hyperf\\Dispatcher\\ConfigProvider",
"Hyperf\\Etcd\\ConfigProvider",
"Hyperf\\Event\\ConfigProvider",
"Hyperf\\ExceptionHandler\\ConfigProvider",
"Hyperf\\Framework\\ConfigProvider",
"Hyperf\\GraphQL\\ConfigProvider",
"Hyperf\\GrpcClient\\ConfigProvider",
"Hyperf\\GrpcServer\\ConfigProvider",
"Hyperf\\HttpServer\\ConfigProvider",
"Hyperf\\JsonRpc\\ConfigProvider",
"Hyperf\\LoadBalancer\\ConfigProvider",
"Hyperf\\Logger\\ConfigProvider",
"Hyperf\\Memory\\ConfigProvider",
"Hyperf\\ModelCache\\ConfigProvider",
"Hyperf\\ModelListener\\ConfigProvider",
"Hyperf\\Paginator\\ConfigProvider",
"Hyperf\\Pool\\ConfigProvider",
"Hyperf\\Process\\ConfigProvider",
"Hyperf\\RateLimit\\ConfigProvider",
"Hyperf\\Redis\\ConfigProvider",
"Hyperf\\RpcClient\\ConfigProvider",
"Hyperf\\RpcServer\\ConfigProvider",
"Hyperf\\Server\\ConfigProvider",
"Hyperf\\ServiceGovernance\\ConfigProvider",
"Hyperf\\Snowflake\\ConfigProvider",
"Hyperf\\Swagger\\ConfigProvider",
"Hyperf\\SwooleEnterprise\\ConfigProvider",
"Hyperf\\Task\\ConfigProvider",
"Hyperf\\Tracer\\ConfigProvider",
"Hyperf\\Utils\\ConfigProvider",
"Hyperf\\View\\ConfigProvider",
"Hyperf\\WebSocketClient\\ConfigProvider",
"Hyperf\\WebSocketServer\\ConfigProvider"
]
}
},
"bin": [],
"scripts": {
"test": "./bin/co-phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"license-check": "docheader check src/ test/",
"cs-fix": "php-cs-fixer fix $1",
"json-fix": "./bin/composer-json-fixer",
"analyse": "phpstan analyse --memory-limit 300M -l 3 -c phpstan.neon"
},
"minimum-stability": "dev",
"prefer-stable": true
}