{ "name": "hyperf/hyperf", "description": "A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.", "license": "MIT", "keywords": [ "php", "swoole", "hyperf", "microservice", "coroutine" ], "homepage": "https://hyperf.io", "support": { "docs": "https://hyperf.wiki", "issues": "https://github.com/hyperf/hyperf/issues", "source": "https://github.com/hyperf/hyperf" }, "require": { "php": ">=7.2", "ext-bcmath": "*", "ext-json": "*", "ext-redis": "*", "ext-swoole": ">=4.5", "psr/container": "^1.0", "psr/event-dispatcher": "^1.0", "psr/http-message": "^1.0", "psr/http-server-middleware": "^1.0", "psr/log": "^1.0", "psr/simple-cache": "^1.0" }, "require-dev": { "bandwidth-throttle/token-bucket": "^2.0", "doctrine/annotations": "^1.6", "doctrine/common": "@stable", "doctrine/inflector": "^2.0", "doctrine/instantiator": "^1.0", "domnikl/statsd": "^3.0.1", "egulias/email-validator": "^2.1", "elasticsearch/elasticsearch": "^7.0", "endclothing/prometheus_client_php": "^1.0", "fig/http-message-util": "^1.1.2", "filp/whoops": "^2.7", "friendsofphp/php-cs-fixer": "^2.14", "google/protobuf": "^3.6.1", "grpc/grpc": "^1.15", "guzzlehttp/guzzle": "^6.3|^7.0", "hyperf/engine": "dev-master", "influxdb/influxdb-php": "^1.15.0", "ircmaxell/random-lib": "^1.2", "jcchavezs/zipkin-opentracing": "^0.2.0", "jean85/pretty-package-versions": "^1.2", "jonahgeorge/jaeger-client-php": "^0.6.0", "laminas/laminas-mime": "^2.7", "league/flysystem": "^1.0", "league/flysystem-aws-s3-v3": "^1.0", "league/flysystem-memory": "^1.0", "league/plates": "^3.3", "malukenho/docheader": "^0.1.6", "markrogoyski/math-php": "^1.2.0", "mix/redis-subscribe": "^2.1", "mockery/mockery": "^1.0", "monolog/monolog": "^2.0", "nesbot/carbon": "^2.0", "nikic/fast-route": "^1.3", "nikic/php-parser": "^4.1", "overtrue/flysystem-cos": "^2.0", "overtrue/flysystem-qiniu": "^1.0", "php-amqplib/php-amqplib": "^2.7", "php-di/php-di": "^6.0", "phpspec/prophecy-phpunit": "^2.0", "phpstan/phpstan": "^0.12", "phpunit/phpunit": "^9.4", "predis/predis": "^1.1", "reactivex/rxphp": "^2.0", "roave/better-reflection": "^4.0", "smarty/smarty": "^3.1", "squizlabs/php_codesniffer": "^3.4", "swoole/ide-helper": "dev-master", "swow/swow": "dev-develop", "sy-records/think-template": "^2.0", "symfony/console": "^5.0", "symfony/event-dispatcher": "^5.0", "symfony/finder": "^5.0", "symfony/property-access": "^5.0", "symfony/serializer": "^5.0", "twig/twig": "^3.0", "vlucas/phpdotenv": "^5.0", "xxtime/flysystem-aliyun-oss": "^1.5" }, "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/filesystem": "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/reactive-x": "self.version", "hyperf/redis": "self.version", "hyperf/retry": "self.version", "hyperf/resource": "self.version", "hyperf/resource-grpc": "self.version", "hyperf/server": "self.version", "hyperf/service-governance": "self.version", "hyperf/session": "self.version", "hyperf/socketio-server": "self.version", "hyperf/swagger": "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": {}, "conflict": { "symfony/event-dispatcher": "<4.3" }, "autoload": { "files": [ "src/config/src/Functions.php", "src/di/src/Functions.php", "src/filesystem/src/Adapter/AliyunOssHook.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\\ConfigZookeeper\\": "src/config-zookeeper/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\\DB\\": "src/db/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\\Filesystem\\": "src/filesystem/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\\Nacos\\": "src/nacos/src/", "Hyperf\\Nats\\": "src/nats/src/", "Hyperf\\Nsq\\": "src/nsq/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\\ReactiveX\\": "src/reactive-x/src/", "Hyperf\\Redis\\": "src/redis/src/", "Hyperf\\ResourceGrpc\\": "src/resource-grpc/src/", "Hyperf\\Resource\\": "src/resource/src/", "Hyperf\\Retry\\": "src/retry/src/", "Hyperf\\RpcClient\\": "src/rpc-client/src/", "Hyperf\\RpcServer\\": "src/rpc-server/src/", "Hyperf\\Rpc\\": "src/rpc/src/", "Hyperf\\Scout\\": "src/scout/src/", "Hyperf\\Server\\": "src/server/src/", "Hyperf\\ServiceGovernance\\": "src/service-governance/src/", "Hyperf\\Session\\": "src/session/src/", "Hyperf\\Signal\\": "src/signal/src/", "Hyperf\\Snowflake\\": "src/snowflake/src/", "Hyperf\\SocketIOServer\\": "src/socketio-server/src/", "Hyperf\\Socket\\": "src/socket/src/", "Hyperf\\SuperGlobals\\": "src/super-globals/src/", "Hyperf\\Swagger\\": "src/swagger/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\\Watcher\\": "src/watcher/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\\ConfigZookeeper\\": "src/config-zookeeper/tests/", "HyperfTest\\Config\\": "src/config/tests/", "HyperfTest\\Constants\\": "src/constants/tests/", "HyperfTest\\Consul\\": "src/consul/tests/", "HyperfTest\\Crontab\\": "src/crontab/tests/", "HyperfTest\\DB\\": "src/db/tests/", "HyperfTest\\Database\\": "src/database/tests/", "HyperfTest\\DbConnection\\": "src/db-connection/tests/", "HyperfTest\\Devtool\\": "src/devtool/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\\Filesystem\\": "src/filesystem/tests/", "HyperfTest\\Framework\\": "src/framework/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\\Nsq\\": "src/nsq/tests/", "HyperfTest\\Paginator\\": "src/paginator/tests/", "HyperfTest\\Pool\\": "src/pool/tests/", "HyperfTest\\Process\\": "src/process/tests/", "HyperfTest\\Protocol\\": "src/protocol/tests/", "HyperfTest\\RateLimit\\": "src/rate-limit/tests/", "HyperfTest\\ReactiveX\\": "src/reactive-x/tests/", "HyperfTest\\Redis\\": "src/redis/tests/", "HyperfTest\\ResourceGrpc\\": "src/resource-grpc/tests/", "HyperfTest\\Resource\\": "src/resource/tests/", "HyperfTest\\Retry\\": "src/retry/tests/", "HyperfTest\\Rpc\\": "src/rpc/tests/", "HyperfTest\\Scout\\": "src/scout/tests/", "HyperfTest\\Server\\": "src/server/tests/", "HyperfTest\\ServiceGovernance\\": "src/service-governance/tests/", "HyperfTest\\Session\\": "src/session/tests/", "HyperfTest\\Signal\\": "src/signal/tests/", "HyperfTest\\Snowflake\\": "src/snowflake/tests/", "HyperfTest\\SocketIOServer\\": "src/socketio-server/tests/", "HyperfTest\\Socket\\": "src/socket/tests/", "HyperfTest\\SuperGlobals\\": "src/super-globals/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\\View\\": "src/view/tests/", "HyperfTest\\Watcher\\": "src/watcher/tests/", "HyperfTest\\WebSocketClient\\": "src/websocket-client/tests/", "HyperfTest\\WebSocketServer\\": "src/websocket-server/tests/", "Routeguide\\": "src/grpc-client/tests/Routeguide/" } }, "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\\ConfigZookeeper\\ConfigProvider", "Hyperf\\Config\\ConfigProvider", "Hyperf\\Constants\\ConfigProvider", "Hyperf\\Consul\\ConfigProvider", "Hyperf\\Crontab\\ConfigProvider", "Hyperf\\DB\\ConfigProvider", "Hyperf\\DbConnection\\ConfigProvider", "Hyperf\\Devtool\\ConfigProvider", "Hyperf\\Di\\ConfigProvider", "Hyperf\\Dispatcher\\ConfigProvider", "Hyperf\\Etcd\\ConfigProvider", "Hyperf\\Event\\ConfigProvider", "Hyperf\\ExceptionHandler\\ConfigProvider", "Hyperf\\Filesystem\\ConfigProvider", "Hyperf\\Framework\\ConfigProvider", "Hyperf\\GraphQL\\ConfigProvider", "Hyperf\\GrpcClient\\ConfigProvider", "Hyperf\\GrpcServer\\ConfigProvider", "Hyperf\\Guzzle\\ConfigProvider", "Hyperf\\HttpMessage\\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\\Nacos\\ConfigProvider", "Hyperf\\Nats\\ConfigProvider", "Hyperf\\Nsq\\ConfigProvider", "Hyperf\\Paginator\\ConfigProvider", "Hyperf\\Pool\\ConfigProvider", "Hyperf\\Process\\ConfigProvider", "Hyperf\\Protocol\\ConfigProvider", "Hyperf\\RateLimit\\ConfigProvider", "Hyperf\\ReactiveX\\ConfigProvider", "Hyperf\\Redis\\ConfigProvider", "Hyperf\\ResourceGrpc\\ConfigProvider", "Hyperf\\Resource\\ConfigProvider", "Hyperf\\Retry\\ConfigProvider", "Hyperf\\RpcClient\\ConfigProvider", "Hyperf\\RpcServer\\ConfigProvider", "Hyperf\\Scout\\ConfigProvider", "Hyperf\\Server\\ConfigProvider", "Hyperf\\ServiceGovernance\\ConfigProvider", "Hyperf\\Session\\ConfigProvider", "Hyperf\\Signal\\ConfigProvider", "Hyperf\\Snowflake\\ConfigProvider", "Hyperf\\SocketIOServer\\ConfigProvider", "Hyperf\\Socket\\ConfigProvider", "Hyperf\\SuperGlobals\\ConfigProvider", "Hyperf\\Swagger\\ConfigProvider", "Hyperf\\SwooleTracker\\ConfigProvider", "Hyperf\\Task\\ConfigProvider", "Hyperf\\Tracer\\ConfigProvider", "Hyperf\\Translation\\ConfigProvider", "Hyperf\\Utils\\ConfigProvider", "Hyperf\\Validation\\ConfigProvider", "Hyperf\\View\\ConfigProvider", "Hyperf\\Watcher\\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 4096M -l 5 -c phpstan.neon" }, "minimum-stability": "dev", "prefer-stable": true }