{ "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.4", "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" }, "require-dev": { "bandwidth-throttle/token-bucket": "^2.0", "doctrine/annotations": "^1.6", "doctrine/common": "@stable", "doctrine/inflector": "^1.3", "doctrine/instantiator": "^1.0", "domnikl/statsd": "^3.0.1", "egulias/email-validator": "^2.1", "elasticsearch/elasticsearch": "^7.0", "endclothing/prometheus_client_php": "^0.9.1", "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", "influxdb/influxdb-php": "^1.15.0", "ircmaxell/random-lib": "^1.2", "jcchavezs/zipkin-opentracing": "^0.1.5", "jean85/pretty-package-versions": "^1.2", "jonahgeorge/jaeger-client-php": "^0.4.4", "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": "^0.49.0", "mix/redis-subscribe": "^2.1", "mockery/mockery": "^1.0", "monolog/monolog": "^1.24", "nesbot/carbon": "^2.0", "nikic/fast-route": "^1.3", "nikic/php-parser": "^4.1", "overtrue/flysystem-qiniu": "^1.0", "php-amqplib/php-amqplib": "^2.7", "php-di/php-di": "^6.0", "php-di/phpdoc-reader": "^2.0.1", "phpstan/phpstan": "^0.11.15", "phpunit/phpunit": "^7.0.0", "roave/better-reflection": "^4.0", "smarty/smarty": "^3.1", "squizlabs/php_codesniffer": "^3.4", "start-point/etcd-php": "^1.1", "swoole/ide-helper": "dev-master", "sy-records/think-template": "^2.0", "symfony/console": "^4.2", "symfony/event-dispatcher": "^4.3", "symfony/finder": "^4.1", "symfony/property-access": "^4.3", "symfony/serializer": "^4.3", "twig/twig": "^2.12", "vlucas/phpdotenv": "^3.1", "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/redis": "self.version", "hyperf/retry": "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\\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\\Redis\\": "src/redis/src/", "Hyperf\\Retry\\": "src/retry/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\\Session\\": "src/session/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\\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\\Redis\\": "src/redis/tests/", "HyperfTest\\Retry\\": "src/retry/tests/", "HyperfTest\\Rpc\\": "src/rpc/tests/", "HyperfTest\\Server\\": "src/server/tests/", "HyperfTest\\ServiceGovernance\\": "src/service-governance/tests/", "HyperfTest\\Session\\": "src/session/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\\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\\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\\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\\Nsq\\ConfigProvider", "Hyperf\\Paginator\\ConfigProvider", "Hyperf\\Pool\\ConfigProvider", "Hyperf\\Process\\ConfigProvider", "Hyperf\\Protocol\\ConfigProvider", "Hyperf\\RateLimit\\ConfigProvider", "Hyperf\\Redis\\ConfigProvider", "Hyperf\\Retry\\ConfigProvider", "Hyperf\\RpcClient\\ConfigProvider", "Hyperf\\RpcServer\\ConfigProvider", "Hyperf\\Server\\ConfigProvider", "Hyperf\\ServiceGovernance\\ConfigProvider", "Hyperf\\Session\\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\\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 }