hyperf/composer.json
2018-12-28 12:03:37 +08:00

115 lines
3.6 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.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",
"swoft/http-message": "^1.0",
"squizlabs/php_codesniffer": "^3.4"
},
"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",
"hyperf/coding-standard": "~1.0.0",
"php-di/php-di": "^6.0",
"doctrine/common": "@stable"
},
"replace": {
"hyperf/coding-standard": "self.version",
"hyperf/config": "self.version",
"hyperf/contract": "self.version",
"hyperf/devtool": "self.version",
"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"
},
"suggest": {
},
"autoload": {
"files": [
"src/utils/src/Functions.php"
],
"psr-4": {
"Hyperf\\Config\\": "src/config/src/",
"Hyperf\\Contract\\": "src/contract/src/",
"Hyperf\\Devtool\\": "src/devtool/src/",
"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/"
}
},
"autoload-dev": {
"psr-4": {
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
},
"hyperf": {
"config": [
"Hyperf\\Config\\ConfigProvider",
"Hyperf\\Devtool\\ConfigProvider",
"Hyperf\\Di\\ConfigProvider",
"Hyperf\\Dispatcher\\ConfigProvider",
"Hyperf\\Framework\\ConfigProvider",
"Hyperf\\GrpcServer\\ConfigProvider",
"Hyperf\\HttpServer\\ConfigProvider",
"Hyperf\\Memory\\ConfigProvider",
"Hyperf\\Utils\\ConfigProvider"
]
}
},
"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"
}