mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"name": "hyperflex/hyperflex",
|
|
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices or middlewares.",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"php",
|
|
"swoole",
|
|
"hyperflex"
|
|
],
|
|
"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"
|
|
},
|
|
"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",
|
|
"hyperflex/coding-standard": "~1.0.0",
|
|
"php-di/php-di": "^6.0",
|
|
"doctrine/common": "@stable"
|
|
},
|
|
"replace": {
|
|
"hyperflex/config": "self.version",
|
|
"hyperflex/contract": "self.version",
|
|
"hyperflex/di": "self.version",
|
|
"hyperflex/dispatcher": "self.version",
|
|
"hyperflex/grpc-server": "self.version",
|
|
"hyperflex/http-server": "self.version",
|
|
"hyperflex/framework": "self.version",
|
|
"hyperflex/memory": "self.version",
|
|
"hyperflex/utils": "self.version"
|
|
},
|
|
"suggest": {
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"src/utils/src/Functions.php"
|
|
],
|
|
"psr-4": {
|
|
"Hyperflex\\Config\\": "src/config/src/",
|
|
"Hyperflex\\Contract\\": "src/contract/src/",
|
|
"Hyperflex\\Di\\": "src/di/src/",
|
|
"Hyperflex\\Dispatcher\\": "src/dispatcher/src/",
|
|
"Hyperflex\\GrpcServer\\": "src/grpc-server/src/",
|
|
"Hyperflex\\HttpServer\\": "src/http-server/src/",
|
|
"Hyperflex\\Framework\\": "src/framework/src/",
|
|
"Hyperflex\\Memory\\": "src/memory/src/",
|
|
"Hyperflex\\Utils\\": "src/utils/src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
},
|
|
"hyperflex": {
|
|
"config": [
|
|
"Hyperflex\\Config\\ConfigProvider",
|
|
"Hyperflex\\Di\\ConfigProvider",
|
|
"Hyperflex\\Dispatcher\\ConfigProvider",
|
|
"Hyperflex\\Framework\\ConfigProvider",
|
|
"Hyperflex\\GrpcServer\\ConfigProvider",
|
|
"Hyperflex\\HttpServer\\ConfigProvider",
|
|
"Hyperflex\\Memory\\ConfigProvider",
|
|
"Hyperflex\\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"
|
|
}
|