2018-12-27 11:57:34 +08:00
|
|
|
{
|
2018-12-27 20:00:04 +08:00
|
|
|
"name": "hyperf/hyperf",
|
2018-12-27 11:57:34 +08:00
|
|
|
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices or middlewares.",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"keywords": [
|
|
|
|
"php",
|
|
|
|
"swoole",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf"
|
2018-12-27 11:57:34 +08:00
|
|
|
],
|
|
|
|
"support": {
|
|
|
|
},
|
|
|
|
"require": {
|
2019-01-21 20:59:10 +08:00
|
|
|
"php": ">=7.2",
|
2019-07-06 12:45:57 +08:00
|
|
|
"bandwidth-throttle/token-bucket": "^2.0",
|
2018-12-27 11:57:34 +08:00
|
|
|
"doctrine/annotations": "^1.6",
|
2019-01-23 16:32:16 +08:00
|
|
|
"doctrine/inflector": "^1.3",
|
2019-07-06 12:45:57 +08:00
|
|
|
"doctrine/instantiator": "^1.0",
|
|
|
|
"elasticsearch/elasticsearch": "^6.1",
|
|
|
|
"fig/http-message-util": "^1.1.2",
|
2018-12-27 11:57:34 +08:00
|
|
|
"google/protobuf": "^3.6.1",
|
2019-07-06 12:45:57 +08:00
|
|
|
"grpc/grpc": "^1.15",
|
|
|
|
"guzzlehttp/guzzle": "^6.3",
|
|
|
|
"monolog/monolog": "^1.24",
|
2019-01-07 23:13:12 +08:00
|
|
|
"nesbot/carbon": "^2.0",
|
2019-07-06 12:45:57 +08:00
|
|
|
"nikic/fast-route": "^1.3",
|
|
|
|
"nikic/php-parser": "^4.1",
|
2019-02-21 22:15:46 +08:00
|
|
|
"openzipkin/zipkin": "^1.3.2",
|
2019-07-06 12:45:57 +08:00
|
|
|
"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"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2019-06-20 17:29:14 +08:00
|
|
|
"doctrine/common": "@stable",
|
|
|
|
"friendsofphp/php-cs-fixer": "^2.14",
|
2018-12-27 11:57:34 +08:00
|
|
|
"malukenho/docheader": "^0.1.6",
|
|
|
|
"mockery/mockery": "^1.0",
|
|
|
|
"php-di/php-di": "^6.0",
|
2019-06-20 17:29:14 +08:00
|
|
|
"phpunit/phpunit": "^7.0.0",
|
|
|
|
"swoft/swoole-ide-helper": "^4.3"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
|
|
|
"replace": {
|
2019-01-19 13:35:21 +08:00
|
|
|
"hyperf/amqp": "self.version",
|
2019-07-04 18:22:17 +08:00
|
|
|
"hyperf/async-queue": "self.version",
|
2019-03-13 10:14:42 +08:00
|
|
|
"hyperf/circuit-breaker": "self.version",
|
2019-01-31 17:34:28 +08:00
|
|
|
"hyperf/cache": "self.version",
|
2019-05-30 17:31:18 +08:00
|
|
|
"hyperf/command": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/config": "self.version",
|
2019-02-26 00:57:26 +08:00
|
|
|
"hyperf/config-apollo": "self.version",
|
2019-07-26 13:32:54 +08:00
|
|
|
"hyperf/config-etcd": "self.version",
|
2019-01-26 12:18:29 +08:00
|
|
|
"hyperf/constants": "self.version",
|
2019-02-26 00:57:26 +08:00
|
|
|
"hyperf/consul": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/contract": "self.version",
|
2018-12-29 11:59:16 +08:00
|
|
|
"hyperf/database": "self.version",
|
2018-12-29 13:41:23 +08:00
|
|
|
"hyperf/db-connection": "self.version",
|
2018-12-28 12:03:37 +08:00
|
|
|
"hyperf/devtool": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/di": "self.version",
|
|
|
|
"hyperf/dispatcher": "self.version",
|
2019-02-27 09:59:34 +08:00
|
|
|
"hyperf/elasticsearch": "self.version",
|
2019-07-26 13:29:11 +08:00
|
|
|
"hyperf/etcd": "self.version",
|
2018-12-31 02:07:50 +08:00
|
|
|
"hyperf/event": "self.version",
|
2019-06-08 15:52:59 +08:00
|
|
|
"hyperf/exception-handler": "self.version",
|
2019-03-05 17:47:37 +08:00
|
|
|
"hyperf/framework": "self.version",
|
2019-07-11 18:00:59 +08:00
|
|
|
"hyperf/graphql": "self.version",
|
2019-04-30 15:18:04 +08:00
|
|
|
"hyperf/grpc": "self.version",
|
2019-02-21 22:15:46 +08:00
|
|
|
"hyperf/grpc-client": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/grpc-server": "self.version",
|
2019-01-17 13:30:30 +08:00
|
|
|
"hyperf/guzzle": "self.version",
|
2019-04-25 18:07:31 +08:00
|
|
|
"hyperf/http-message": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/http-server": "self.version",
|
2019-03-05 17:47:37 +08:00
|
|
|
"hyperf/logger": "self.version",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/memory": "self.version",
|
2019-02-08 00:27:40 +08:00
|
|
|
"hyperf/model-cache": "self.version",
|
2019-01-18 18:24:56 +08:00
|
|
|
"hyperf/paginator": "self.version",
|
2018-12-29 14:53:39 +08:00
|
|
|
"hyperf/pool": "self.version",
|
2019-01-12 13:14:39 +08:00
|
|
|
"hyperf/process": "self.version",
|
2019-03-11 14:52:31 +08:00
|
|
|
"hyperf/rate-limit": "self.version",
|
2019-01-03 19:16:02 +08:00
|
|
|
"hyperf/redis": "self.version",
|
2019-04-25 18:07:31 +08:00
|
|
|
"hyperf/server": "self.version",
|
2019-07-08 09:57:54 +08:00
|
|
|
"hyperf/service-governance": "self.version",
|
|
|
|
"hyperf/swagger": "self.version",
|
2019-07-17 10:39:56 +08:00
|
|
|
"hyperf/swoole-enterprise": "self.version",
|
2019-07-13 17:33:56 +08:00
|
|
|
"hyperf/task": "self.version",
|
2019-02-11 12:09:11 +08:00
|
|
|
"hyperf/tracer": "self.version",
|
2019-06-26 11:09:47 +08:00
|
|
|
"hyperf/utils": "self.version",
|
2019-07-13 16:39:10 +08:00
|
|
|
"hyperf/view": "self.version",
|
2019-06-26 11:09:47 +08:00
|
|
|
"hyperf/websocket-client": "self.version",
|
|
|
|
"hyperf/websocket-server": "self.version"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
|
|
|
"suggest": {
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"files": [
|
2019-02-11 16:07:32 +08:00
|
|
|
"src/di/src/Functions.php",
|
2018-12-27 11:57:34 +08:00
|
|
|
"src/utils/src/Functions.php"
|
|
|
|
],
|
|
|
|
"psr-4": {
|
2019-01-19 13:35:21 +08:00
|
|
|
"Hyperf\\Amqp\\": "src/amqp/src/",
|
2019-07-04 18:22:17 +08:00
|
|
|
"Hyperf\\AsyncQueue\\": "src/async-queue/src/",
|
2019-03-13 10:14:42 +08:00
|
|
|
"Hyperf\\CircuitBreaker\\": "src/circuit-breaker/src/",
|
2019-01-31 17:34:28 +08:00
|
|
|
"Hyperf\\Cache\\": "src/cache/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Config\\": "src/config/src/",
|
2019-05-30 17:31:18 +08:00
|
|
|
"Hyperf\\Command\\": "src/command/src/",
|
2019-02-26 00:57:26 +08:00
|
|
|
"Hyperf\\ConfigApollo\\": "src/config-apollo/src/",
|
2019-07-26 13:32:54 +08:00
|
|
|
"Hyperf\\ConfigEtcd\\": "src/config-etcd/src/",
|
2019-01-26 12:18:29 +08:00
|
|
|
"Hyperf\\Constants\\": "src/constants/src/",
|
2019-02-26 00:57:26 +08:00
|
|
|
"Hyperf\\Consul\\": "src/consul/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Contract\\": "src/contract/src/",
|
2018-12-29 11:59:16 +08:00
|
|
|
"Hyperf\\Database\\": "src/database/src/",
|
2018-12-29 13:41:23 +08:00
|
|
|
"Hyperf\\DbConnection\\": "src/db-connection/src/",
|
2018-12-28 12:03:37 +08:00
|
|
|
"Hyperf\\Devtool\\": "src/devtool/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Di\\": "src/di/src/",
|
|
|
|
"Hyperf\\Dispatcher\\": "src/dispatcher/src/",
|
2019-02-27 09:59:34 +08:00
|
|
|
"Hyperf\\Elasticsearch\\": "src/elasticsearch/src/",
|
2019-07-26 13:29:11 +08:00
|
|
|
"Hyperf\\Etcd\\": "src/etcd/src/",
|
2018-12-31 02:07:50 +08:00
|
|
|
"Hyperf\\Event\\": "src/event/src/",
|
2019-06-08 15:52:59 +08:00
|
|
|
"Hyperf\\ExceptionHandler\\": "src/exception-handler/src/",
|
2019-03-05 17:47:37 +08:00
|
|
|
"Hyperf\\Framework\\": "src/framework/src/",
|
2019-07-11 18:00:59 +08:00
|
|
|
"Hyperf\\GraphQL\\": "src/graphql/src/",
|
2019-04-30 15:18:04 +08:00
|
|
|
"Hyperf\\Grpc\\": "src/grpc/src/",
|
2019-02-21 22:15:46 +08:00
|
|
|
"Hyperf\\GrpcClient\\": "src/grpc-client/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\GrpcServer\\": "src/grpc-server/src/",
|
2019-01-17 13:30:30 +08:00
|
|
|
"Hyperf\\Guzzle\\": "src/guzzle/src/",
|
2019-04-25 18:07:31 +08:00
|
|
|
"Hyperf\\HttpMessage\\": "src/http-message/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\HttpServer\\": "src/http-server/src/",
|
2019-03-05 17:47:37 +08:00
|
|
|
"Hyperf\\Logger\\": "src/logger/src/",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Memory\\": "src/memory/src/",
|
2019-02-08 00:27:40 +08:00
|
|
|
"Hyperf\\ModelCache\\": "src/model-cache/src/",
|
2019-01-18 18:24:56 +08:00
|
|
|
"Hyperf\\Paginator\\": "src/paginator/src/",
|
2018-12-29 14:53:39 +08:00
|
|
|
"Hyperf\\Pool\\": "src/pool/src/",
|
2019-01-12 13:14:39 +08:00
|
|
|
"Hyperf\\Process\\": "src/process/src/",
|
2019-03-11 14:52:31 +08:00
|
|
|
"Hyperf\\RateLimit\\": "src/rate-limit/src/",
|
2019-01-03 19:16:02 +08:00
|
|
|
"Hyperf\\Redis\\": "src/redis/src/",
|
2019-04-17 12:53:44 +08:00
|
|
|
"Hyperf\\Server\\": "src/server/src/",
|
2019-07-08 09:57:54 +08:00
|
|
|
"Hyperf\\ServiceGovernance\\": "src/service-governance/src/",
|
|
|
|
"Hyperf\\Swagger\\": "src/swagger/src/",
|
2019-07-17 10:39:56 +08:00
|
|
|
"Hyperf\\SwooleEnterprise\\": "src/swoole-enterprise/src/",
|
2019-07-13 17:33:56 +08:00
|
|
|
"Hyperf\\Task\\": "src/task/src/",
|
2019-02-11 12:09:11 +08:00
|
|
|
"Hyperf\\Tracer\\": "src/tracer/src/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"Hyperf\\Utils\\": "src/utils/src/",
|
2019-07-13 16:39:10 +08:00
|
|
|
"Hyperf\\View\\": "src/view/src/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"Hyperf\\WebSocketClient\\": "src/websocket-client/src/",
|
|
|
|
"Hyperf\\WebSocketServer\\": "src/websocket-server/src/"
|
2018-12-27 11:57:34 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2019-07-27 15:57:48 +08:00
|
|
|
"HyperfTest\\Amqp\\": "./src/amqp/tests/",
|
2019-07-04 18:22:17 +08:00
|
|
|
"HyperfTest\\AsyncQueue\\": "./src/async-queue/tests/",
|
2019-07-23 15:03:25 +08:00
|
|
|
"HyperfTest\\Cache\\": "./src/cache/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\ConfigApollo\\": "./src/config-apollo/tests/",
|
2019-07-26 13:32:54 +08:00
|
|
|
"HyperfTest\\ConfigEtcd\\": "./src/config-etcd/tests/",
|
2019-07-02 10:16:51 +08:00
|
|
|
"HyperfTest\\Constants\\": "./src/constants/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\Consul\\": "./src/consul/tests/",
|
|
|
|
"HyperfTest\\Di\\": "./src/di/tests/",
|
2019-07-17 11:41:51 +08:00
|
|
|
"HyperfTest\\Dispatcher\\": "./src/dispatcher/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\Database\\": "./src/database/tests/",
|
|
|
|
"HyperfTest\\DbConnection\\": "./src/db-connection/tests/",
|
2019-07-26 13:29:11 +08:00
|
|
|
"HyperfTest\\Etcd\\": "./src/etcd/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\Event\\": "./src/event/tests/",
|
2019-07-11 16:25:07 +08:00
|
|
|
"HyperfTest\\Guzzle\\": "./src/guzzle/tests/",
|
2019-07-01 18:13:27 +08:00
|
|
|
"HyperfTest\\HttpServer\\": "./src/http-server/tests/",
|
|
|
|
"HyperfTest\\Logger\\": "./src/logger/tests/",
|
2019-06-28 11:43:34 +08:00
|
|
|
"HyperfTest\\ModelCache\\": "./src/model-cache/tests/",
|
2019-07-09 17:50:55 +08:00
|
|
|
"HyperfTest\\Paginator\\": "./src/paginator/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\Redis\\": "./src/redis/tests/",
|
2019-07-17 10:39:56 +08:00
|
|
|
"HyperfTest\\SwooleEnterprise\\": "./src/swoole-enterprise/tests/",
|
2019-07-13 17:33:56 +08:00
|
|
|
"HyperfTest\\Task\\": "./src/task/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\Utils\\": "./src/utils/tests/",
|
2019-07-13 16:39:10 +08:00
|
|
|
"HyperfTest\\View\\": "./src/view/tests/",
|
2019-06-26 11:09:47 +08:00
|
|
|
"HyperfTest\\WebSocketClient\\": "src/websocket-client/tests/",
|
|
|
|
"HyperfTest\\WebSocketServer\\": "src/websocket-server/tests/"
|
2018-12-27 11:57:34 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
},
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf": {
|
2018-12-27 11:57:34 +08:00
|
|
|
"config": [
|
2019-01-19 13:35:21 +08:00
|
|
|
"Hyperf\\Amqp\\ConfigProvider",
|
2019-07-04 18:22:17 +08:00
|
|
|
"Hyperf\\AsyncQueue\\ConfigProvider",
|
2019-01-31 17:34:28 +08:00
|
|
|
"Hyperf\\Cache\\ConfigProvider",
|
2019-07-23 15:03:25 +08:00
|
|
|
"Hyperf\\CircuitBreaker\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Config\\ConfigProvider",
|
2019-02-26 00:57:26 +08:00
|
|
|
"Hyperf\\ConfigApollo\\ConfigProvider",
|
2019-07-26 13:32:54 +08:00
|
|
|
"Hyperf\\ConfigEtcd\\ConfigProvider",
|
2018-12-28 12:03:37 +08:00
|
|
|
"Hyperf\\Devtool\\ConfigProvider",
|
2018-12-29 13:41:23 +08:00
|
|
|
"Hyperf\\DbConnection\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Di\\ConfigProvider",
|
|
|
|
"Hyperf\\Dispatcher\\ConfigProvider",
|
2019-07-26 13:29:11 +08:00
|
|
|
"Hyperf\\Etcd\\ConfigProvider",
|
2018-12-31 02:07:50 +08:00
|
|
|
"Hyperf\\Event\\ConfigProvider",
|
2019-06-08 15:52:59 +08:00
|
|
|
"Hyperf\\ExceptionHandler\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Framework\\ConfigProvider",
|
2019-02-21 22:15:46 +08:00
|
|
|
"Hyperf\\GrpcClient\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\GrpcServer\\ConfigProvider",
|
|
|
|
"Hyperf\\HttpServer\\ConfigProvider",
|
2019-03-05 17:47:37 +08:00
|
|
|
"Hyperf\\Logger\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Memory\\ConfigProvider",
|
2019-02-08 00:27:40 +08:00
|
|
|
"Hyperf\\ModelCache\\ConfigProvider",
|
2019-01-18 18:24:56 +08:00
|
|
|
"Hyperf\\Paginator\\ConfigProvider",
|
2019-01-08 09:34:29 +08:00
|
|
|
"Hyperf\\Pool\\ConfigProvider",
|
2019-01-12 13:14:39 +08:00
|
|
|
"Hyperf\\Process\\ConfigProvider",
|
2019-03-11 14:52:31 +08:00
|
|
|
"Hyperf\\RateLimit\\ConfigProvider",
|
2019-01-03 19:16:02 +08:00
|
|
|
"Hyperf\\Redis\\ConfigProvider",
|
2019-04-25 18:07:31 +08:00
|
|
|
"Hyperf\\Server\\ConfigProvider",
|
2019-07-13 17:33:56 +08:00
|
|
|
"Hyperf\\Task\\ConfigProvider",
|
2019-02-11 12:09:11 +08:00
|
|
|
"Hyperf\\Tracer\\ConfigProvider",
|
2019-06-26 11:09:47 +08:00
|
|
|
"Hyperf\\Utils\\ConfigProvider",
|
2019-07-13 16:39:10 +08:00
|
|
|
"Hyperf\\View\\ConfigProvider",
|
2019-06-26 11:09:47 +08:00
|
|
|
"Hyperf\\WebSocketClient\\ConfigProvider",
|
|
|
|
"Hyperf\\WebSocketServer\\ConfigProvider"
|
2018-12-27 11:57:34 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"bin": [
|
|
|
|
],
|
|
|
|
"scripts": {
|
2019-06-24 13:10:41 +08:00
|
|
|
"test": "./bin/co-phpunit --colors=always",
|
2018-12-27 11:57:34 +08:00
|
|
|
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
|
2019-06-20 09:54:15 +08:00
|
|
|
"license-check": "docheader check src/ test/",
|
|
|
|
"cs-fix": "php-cs-fixer fix $1"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
2019-04-10 16:08:36 +08:00
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true
|
2018-12-27 11:57:34 +08:00
|
|
|
}
|