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": {
|
|
|
|
"php": ">=7.1",
|
|
|
|
"psr/http-server-middleware": "^1.0",
|
|
|
|
"psr/container": "^1.0",
|
|
|
|
"psr/log": "^1.0",
|
|
|
|
"psr/http-message": "^1.0.1",
|
|
|
|
"psr/http-server-middleware": "^1.0",
|
|
|
|
"fig/http-message-util": "^1.1.2",
|
|
|
|
"nikic/fast-route": "^1.3",
|
|
|
|
"nikic/php-parser": "^4.1",
|
|
|
|
"doctrine/annotations": "^1.6",
|
|
|
|
"doctrine/instantiator": "^1.0",
|
|
|
|
"php-di/phpdoc-reader": "^2.0.1",
|
|
|
|
"google/protobuf": "^3.6.1",
|
|
|
|
"grpc/grpc": "^1.15",
|
|
|
|
"symfony/finder": "^4.1",
|
|
|
|
"symfony/console": "^4.2",
|
2018-12-27 17:56:13 +08:00
|
|
|
"swoft/http-message": "^1.0",
|
|
|
|
"squizlabs/php_codesniffer": "^3.4"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"malukenho/docheader": "^0.1.6",
|
|
|
|
"mockery/mockery": "^1.0",
|
|
|
|
"phpstan/phpstan": "^0.9.2",
|
|
|
|
"phpstan/phpstan-strict-rules": "^0.9",
|
|
|
|
"phpunit/phpunit": "^7.0.0",
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/coding-standard": "~1.0.0",
|
2018-12-27 11:57:34 +08:00
|
|
|
"php-di/php-di": "^6.0",
|
|
|
|
"doctrine/common": "@stable"
|
|
|
|
},
|
|
|
|
"replace": {
|
2018-12-27 20:00:04 +08:00
|
|
|
"hyperf/coding-standard": "self.version",
|
|
|
|
"hyperf/config": "self.version",
|
|
|
|
"hyperf/contract": "self.version",
|
2018-12-29 11:59:16 +08:00
|
|
|
"hyperf/database": "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",
|
|
|
|
"hyperf/grpc-server": "self.version",
|
|
|
|
"hyperf/http-server": "self.version",
|
|
|
|
"hyperf/framework": "self.version",
|
|
|
|
"hyperf/memory": "self.version",
|
|
|
|
"hyperf/utils": "self.version"
|
2018-12-27 11:57:34 +08:00
|
|
|
},
|
|
|
|
"suggest": {
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"files": [
|
|
|
|
"src/utils/src/Functions.php"
|
|
|
|
],
|
|
|
|
"psr-4": {
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Config\\": "src/config/src/",
|
|
|
|
"Hyperf\\Contract\\": "src/contract/src/",
|
2018-12-29 11:59:16 +08:00
|
|
|
"Hyperf\\Database\\": "src/database/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/",
|
|
|
|
"Hyperf\\GrpcServer\\": "src/grpc-server/src/",
|
|
|
|
"Hyperf\\HttpServer\\": "src/http-server/src/",
|
|
|
|
"Hyperf\\Framework\\": "src/framework/src/",
|
|
|
|
"Hyperf\\Memory\\": "src/memory/src/",
|
|
|
|
"Hyperf\\Utils\\": "src/utils/src/"
|
2018-12-27 11:57:34 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": [
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Config\\ConfigProvider",
|
2018-12-28 12:03:37 +08:00
|
|
|
"Hyperf\\Devtool\\ConfigProvider",
|
2018-12-27 20:00:04 +08:00
|
|
|
"Hyperf\\Di\\ConfigProvider",
|
|
|
|
"Hyperf\\Dispatcher\\ConfigProvider",
|
|
|
|
"Hyperf\\Framework\\ConfigProvider",
|
|
|
|
"Hyperf\\GrpcServer\\ConfigProvider",
|
|
|
|
"Hyperf\\HttpServer\\ConfigProvider",
|
|
|
|
"Hyperf\\Memory\\ConfigProvider",
|
|
|
|
"Hyperf\\Utils\\ConfigProvider"
|
2018-12-27 11:57:34 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"bin": [
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"check": [
|
|
|
|
"@license-check",
|
|
|
|
"@cs-check",
|
|
|
|
"@test"
|
|
|
|
],
|
|
|
|
"cs-check": "phpcs",
|
|
|
|
"cs-fix": "phpcbf",
|
|
|
|
"phpstan": "phpstan analyze -l max -c phpstan.neon ./src",
|
|
|
|
"test": "phpunit --colors=always",
|
|
|
|
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
|
|
|
|
"license-check": "docheader check src/ test/"
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev"
|
|
|
|
}
|