mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-05 13:18:22 +08:00
317 lines
14 KiB
JSON
317 lines
14 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": "*",
|
|
"ext-swoole": ">=4.4",
|
|
"bandwidth-throttle/token-bucket": "^2.0",
|
|
"doctrine/annotations": "^1.6",
|
|
"doctrine/inflector": "^1.3",
|
|
"doctrine/instantiator": "^1.0",
|
|
"egulias/email-validator": "^2.1",
|
|
"elasticsearch/elasticsearch": "^6.1",
|
|
"endclothing/prometheus_client_php": "^0.9.1",
|
|
"fig/http-message-util": "^1.1.2",
|
|
"google/protobuf": "^3.6.1",
|
|
"grpc/grpc": "^1.15",
|
|
"guzzlehttp/guzzle": "^6.3",
|
|
"ircmaxell/random-lib": "^1.2",
|
|
"jcchavezs/zipkin-opentracing": "^0.1.2",
|
|
"jean85/pretty-package-versions": "^1.2",
|
|
"monolog/monolog": "^1.24",
|
|
"nesbot/carbon": "^2.0",
|
|
"nikic/fast-route": "^1.3",
|
|
"nikic/php-parser": "^4.1",
|
|
"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",
|
|
"start-point/etcd-php": "^1.1",
|
|
"symfony/console": "^4.2",
|
|
"symfony/finder": "^4.1",
|
|
"vlucas/phpdotenv": "^3.1"
|
|
},
|
|
"require-dev": {
|
|
"doctrine/common": "@stable",
|
|
"friendsofphp/php-cs-fixer": "^2.14",
|
|
"jonahgeorge/jaeger-client-php": "^0.4.4",
|
|
"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",
|
|
"influxdb/influxdb-php": "^1.15.0",
|
|
"domnikl/statsd": "^3.0.1"
|
|
},
|
|
"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/metric": "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/translation": "self.version",
|
|
"hyperf/utils": "self.version",
|
|
"hyperf/validation": "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/nats/src/Functions.php",
|
|
"src/translation/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\\Metric\\": "src/metric/src/",
|
|
"Hyperf\\ModelCache\\": "src/model-cache/src/",
|
|
"Hyperf\\ModelListener\\": "src/model-listener/src/",
|
|
"Hyperf\\Nats\\": "src/nats/src/",
|
|
"Hyperf\\Paginator\\": "src/paginator/src/",
|
|
"Hyperf\\Pool\\": "src/pool/src/",
|
|
"Hyperf\\Process\\": "src/process/src/",
|
|
"Hyperf\\Protocol\\": "src/protocol/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\\Socket\\": "src/socket/src/",
|
|
"Hyperf\\Swagger\\": "src/swagger/src/",
|
|
"Hyperf\\SwooleEnterprise\\": "src/swoole-enterprise/src/",
|
|
"Hyperf\\SwooleTracker\\": "src/swoole-tracker/src/",
|
|
"Hyperf\\Task\\": "src/task/src/",
|
|
"Hyperf\\Testing\\": "src/testing/src/",
|
|
"Hyperf\\Tracer\\": "src/tracer/src/",
|
|
"Hyperf\\Translation\\": "src/translation/src/",
|
|
"Hyperf\\Utils\\": "src/utils/src/",
|
|
"Hyperf\\Validation\\": "src/validation/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\\Command\\": "src/command/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\\ExceptionHandler\\": "src/exception-handler/tests/",
|
|
"HyperfTest\\GrpcClient\\": "src/grpc-client/tests/",
|
|
"HyperfTest\\GrpcServer\\": "src/grpc-server/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\\Metric\\": "src/metric/tests/",
|
|
"HyperfTest\\ModelCache\\": "src/model-cache/tests/",
|
|
"HyperfTest\\ModelListener\\": "src/model-listener/tests/",
|
|
"HyperfTest\\Nats\\": "src/nats/tests/",
|
|
"HyperfTest\\Paginator\\": "src/paginator/tests/",
|
|
"HyperfTest\\Pool\\": "src/pool/tests/",
|
|
"HyperfTest\\Process\\": "src/process/tests/",
|
|
"HyperfTest\\Protocol\\": "src/protocol/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\\Socket\\": "src/socket/tests/",
|
|
"HyperfTest\\Task\\": "src/task/tests/",
|
|
"HyperfTest\\Testing\\": "src/testing/tests/",
|
|
"HyperfTest\\Translation\\": "src/translation/tests/",
|
|
"HyperfTest\\Utils\\": "src/utils/tests/",
|
|
"HyperfTest\\Validation\\": "src/validation/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\\Constants\\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\\Metric\\ConfigProvider",
|
|
"Hyperf\\ModelCache\\ConfigProvider",
|
|
"Hyperf\\ModelListener\\ConfigProvider",
|
|
"Hyperf\\Nats\\ConfigProvider",
|
|
"Hyperf\\Paginator\\ConfigProvider",
|
|
"Hyperf\\Pool\\ConfigProvider",
|
|
"Hyperf\\Process\\ConfigProvider",
|
|
"Hyperf\\Protocol\\ConfigProvider",
|
|
"Hyperf\\RateLimit\\ConfigProvider",
|
|
"Hyperf\\Redis\\ConfigProvider",
|
|
"Hyperf\\RpcClient\\ConfigProvider",
|
|
"Hyperf\\RpcServer\\ConfigProvider",
|
|
"Hyperf\\Server\\ConfigProvider",
|
|
"Hyperf\\ServiceGovernance\\ConfigProvider",
|
|
"Hyperf\\Snowflake\\ConfigProvider",
|
|
"Hyperf\\Socket\\ConfigProvider",
|
|
"Hyperf\\Swagger\\ConfigProvider",
|
|
"Hyperf\\SwooleEnterprise\\ConfigProvider",
|
|
"Hyperf\\SwooleTracker\\ConfigProvider",
|
|
"Hyperf\\Task\\ConfigProvider",
|
|
"Hyperf\\Tracer\\ConfigProvider",
|
|
"Hyperf\\Translation\\ConfigProvider",
|
|
"Hyperf\\Utils\\ConfigProvider",
|
|
"Hyperf\\Validation\\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
|
|
}
|