Optimized

This commit is contained in:
huangzhhui 2019-06-20 01:10:45 +08:00
parent 2d99f48c5f
commit da224acba2
10 changed files with 29 additions and 13 deletions

View File

@ -31,7 +31,7 @@
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
"hyperf/di": "Require this component for annotation."
"hyperf/di": "Required to use annotations."
},
"autoload": {
"files": [

View File

@ -28,6 +28,10 @@
"hyperf/redis": "~1.0.0"
},
"suggest": {
"hyperf/contract": "Required to use annotations.",
"hyperf/di": "Required to use annotations.",
"hyperf/http-server": "Required to use annotations.",
"hyperf/redis": "Required to use RedisStorage."
},
"autoload": {
"files": [

View File

@ -12,7 +12,6 @@ declare(strict_types=1);
namespace Hyperf\RateLimit\Annotation;
use Doctrine\Common\Annotations\Annotation\Target;
use Hyperf\Di\Annotation\AbstractAnnotation;
/**

View File

@ -12,18 +12,20 @@
},
"require": {
"php": ">=7.2",
"hyperf/database": "~1.0.0",
"hyperf/di": "~1.0.0",
"hyperf/event": "~1.0.0",
"hyperf/pool": "~1.0.0"
"psr/container": "^1.0",
"hyperf/contract": "~1.0.0",
"hyperf/pool": "~1.0.0",
"hyperf/utils": "~1.0.0"
},
"require-dev": {
"hyperf/di": "~1.0.0",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0.0",
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
"hyperf/di": "Create the RedisPool via dependency injection."
},
"autoload": {
"files": [

View File

@ -15,6 +15,8 @@
"require": {
"php": ">=7.2",
"psr/container": "^1.0",
"hyperf/rpc": "~1.0.0",
"hyperf/load-balancer": "~1.0.0",
"hyperf/utils": "~1.0.0"
},
"require-dev": {
@ -25,7 +27,8 @@
},
"suggest": {
"hyperf/consul": "For fetch the nodes info from consul.",
"hyperf/di": "For better container experience."
"hyperf/di": "For better container experience.",
"hyperf/pool": "Required to use connection pool."
},
"autoload": {
"files": [

View File

@ -23,7 +23,7 @@
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
"hyperf/di": "Require this component for annotation."
"hyperf/di": "Required to use annotations."
},
"autoload": {
"files": [

View File

@ -12,7 +12,8 @@
},
"require": {
"php": ">=7.2",
"hyperf/contract": "~1.0.0"
"hyperf/contract": "~1.0.0",
"hyperf/utils": "~1.0.0"
},
"require-dev": {
"malukenho/docheader": "^0.1.6",

View File

@ -13,17 +13,18 @@
"require": {
"php": ">=7.2",
"hyperf/consul": "~1.0.0",
"hyperf/contract": "~1.0.0",
"hyperf/event": "~1.0.0",
"hyperf/guzzle": "~1.0.0"
"hyperf/contract": "~1.0.0"
},
"require-dev": {
"hyperf/event": "~1.0.0",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0.0",
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
"hyperf/event": "Required to use RegisterServiceListener.",
"hyperf/framework": "Required to use RegisterServiceListener."
},
"autoload": {
"files": [

View File

@ -12,17 +12,22 @@
},
"require": {
"php": ">=7.2",
"psr/http-message": "^1.0",
"hyperf/contract": "~1.0.0",
"hyperf/di": "~1.0.0",
"hyperf/event": "~1.0.0",
"hyperf/guzzle": "~1.0.0",
"hyperf/utils": "~1.0.0",
"openzipkin/zipkin": "^1.3.2"
},
"require-dev": {
"hyperf/event": "~1.0.0",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0.0",
"friendsofphp/php-cs-fixer": "^2.9"
},
"suggest": {
"hyperf/event": "Required to use DbQueryExecutedListener."
},
"autoload": {
"files": [

View File

@ -16,6 +16,7 @@
"hyperf/contract": "~1.0.0"
},
"require-dev": {
"symfony/var-dumper": "^4.1",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^7.0.0",