hyperf/composer.json

133 lines
4.4 KiB
JSON
Raw Normal View History

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",
2019-01-02 21:18:42 +08:00
"psr/event-dispatcher": "^0.7",
2018-12-27 11:57:34 +08:00
"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",
2019-01-03 20:10:00 +08:00
"squizlabs/php_codesniffer": "^3.4",
2019-01-07 23:13:12 +08:00
"nesbot/carbon": "^2.0",
"vlucas/phpdotenv": "^3.1"
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-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",
2018-12-31 02:07:50 +08:00
"hyperf/event": "self.version",
2018-12-27 20:00:04 +08:00
"hyperf/grpc-server": "self.version",
"hyperf/http-server": "self.version",
"hyperf/framework": "self.version",
"hyperf/memory": "self.version",
2018-12-29 14:53:39 +08:00
"hyperf/pool": "self.version",
2019-01-03 19:16:02 +08:00
"hyperf/redis": "self.version",
2018-12-27 20:00:04 +08:00
"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-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/",
2018-12-31 02:07:50 +08:00
"Hyperf\\Event\\": "src/event/src/",
2018-12-27 20:00:04 +08:00
"Hyperf\\GrpcServer\\": "src/grpc-server/src/",
"Hyperf\\HttpServer\\": "src/http-server/src/",
"Hyperf\\Framework\\": "src/framework/src/",
"Hyperf\\Memory\\": "src/memory/src/",
2018-12-29 14:53:39 +08:00
"Hyperf\\Pool\\": "src/pool/src/",
2019-01-03 19:16:02 +08:00
"Hyperf\\Redis\\": "src/redis/src/",
2018-12-27 20:00:04 +08:00
"Hyperf\\Utils\\": "src/utils/src/"
2018-12-27 11:57:34 +08:00
}
},
"autoload-dev": {
"psr-4": {
2018-12-31 15:35:17 +08:00
"HyperfTest\\Dispatcher\\": "test"
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": [
2018-12-27 20:00:04 +08:00
"Hyperf\\Config\\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",
2018-12-31 02:07:50 +08:00
"Hyperf\\Event\\ConfigProvider",
2018-12-27 20:00:04 +08:00
"Hyperf\\Framework\\ConfigProvider",
"Hyperf\\GrpcServer\\ConfigProvider",
"Hyperf\\HttpServer\\ConfigProvider",
"Hyperf\\Memory\\ConfigProvider",
2019-01-08 09:34:29 +08:00
"Hyperf\\Pool\\ConfigProvider",
2019-01-03 19:16:02 +08:00
"Hyperf\\Redis\\ConfigProvider",
2018-12-27 20:00:04 +08:00
"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"
}