Commit Graph

379 Commits

Author SHA1 Message Date
李铭昕
322a3477a4
Added Hyperf\LoadBalancer\LoadBalancerInterface::getNodes(). (#1331) 2020-02-06 13:38:16 +08:00
李铭昕
c1b2276e0e Added ext-bcmatch required. 2020-01-24 13:11:31 +08:00
李铭昕
44d58d7766 Init nsq component. 2020-01-20 16:59:47 +08:00
李铭昕
5c8e9035e5 Merge branch 'master' into 1.1-superglobals 2020-01-07 16:23:30 +08:00
José Carlos Chávez
5a12584618
Upgrades jcchavezs/zipkin-php-opentracing to 0.1.4
This includes one bugfix and one new feature for propagation. For more details see https://github.com/jcchavezs/zipkin-php-opentracing/releases/tag/0.1.4
2020-01-04 16:56:12 +01:00
李铭昕
7e3ffb1c8e
Replaced zendframework/zend-mime into laminas/laminas-mine. (#1217) 2020-01-03 15:12:03 +08:00
李铭昕
c1518cea62 Added super-globals component. 2020-01-01 19:28:06 +08:00
Reasno
012e89d7d2 Add Scout Component 2019-12-23 15:34:00 +08:00
李铭昕
1deed1d262
Merge pull request #1144 from assert6/master
Fixed rate-limit config not work
2019-12-19 10:23:36 +08:00
李铭昕
7948abc1d1 Added default config for rate-limit. 2019-12-18 14:21:13 +08:00
reasno
5f519f780e Merge branch 'master' of https://github.com/hyperf/hyperf into rxphp 2019-12-07 01:44:29 +08:00
李铭昕
53d40d94d4
Added stdoutlogger testing. (#1037) 2019-11-28 10:25:15 +08:00
谷溪
364510e289
Merge branch 'master' into rxphp 2019-11-21 11:15:43 +08:00
李铭昕
60689a5437 Merge branch 'master' into pr/860 2019-11-21 09:55:23 +08:00
Reasno
6b83618bb7 fix invalid requirements in composer.json 2019-11-20 21:26:06 +08:00
Reasno
61bf54916f Add ReactiveX component 2019-11-20 21:05:39 +08:00
sy-records
9fd7530bf5 Update composer.json 2019-11-15 09:19:00 +08:00
Reasno
f6110a2de7 Merge branch 'master' of https://github.com/hyperf/hyperf into retry 2019-11-15 01:18:43 +08:00
Luffy
854d07a2c8 Update composer.json (#947) 2019-11-14 20:42:18 +08:00
李铭昕
3fa03c5fbe
Merge pull request #941 from daydaygo/dayday-201911140956
add config-zookeeper
2019-11-14 13:32:23 +08:00
黄朝晖
c407b1e09a
Merge pull request #921 from huangzhhui/session
Add Session component
2019-11-14 12:54:46 +08:00
李铭昕
0a2623c0af Optimized code. 2019-11-14 11:22:30 +08:00
李铭昕
3b8b23dddc Format code. 2019-11-13 10:47:16 +08:00
huangzhhui
ae964cac5d Merge remote-tracking branch 'upstream/master' into session 2019-11-11 20:38:49 +08:00
谷溪
abaee5d56b
Merge branch 'master' into retry 2019-11-11 00:25:59 +08:00
Dickens Gao
8ecbae4947 Added twig template engine for view. (#905) 2019-11-10 14:58:14 +08:00
李铭昕
05c375c07f
Added smarty testing. (#912) 2019-11-10 14:34:57 +08:00
李铭昕
d83e764c0e Merge branch 'master' into pr/827 2019-11-09 16:12:58 +08:00
谷溪
13394dcc96
Merge branch 'master' into retry 2019-11-07 17:16:26 +08:00
Reasno
83114383d2 Add Retry Component
Merge branch 'master' of https://github.com/hyperf/hyperf into retry
2019-11-05 15:15:29 +08:00
李铭昕
c387bb8e12 Format code. 2019-11-02 14:29:10 +08:00
李铭昕
a5385bb12e Optimized code. 2019-10-31 10:49:13 +08:00
李铭昕
e2d3542086 Moved repejota/nats into hyperf/nats. 2019-10-31 10:31:24 +08:00
李铭昕
f94d83fc12 Added nats component. 2019-10-30 22:04:16 +08:00
李铭昕
95ce15c17b
Merge pull request #796 from limingxinleo/1.1-etcd
Optimized etcd.
2019-10-30 16:26:57 +08:00
李铭昕
e0d7f2d596 Fixed namespaces for testing. 2019-10-30 14:36:00 +08:00
李铭昕
c7d73cf21c Optimized EtcdClient::getDefaultHandler. 2019-10-27 18:58:19 +08:00
huangzhhui
2fd430e7b5 Merge remote-tracking branch 'upstream/master' into session 2019-10-27 16:17:47 +08:00
Reasno
c6c8e1004b Add Metric Component
Support a various of Metrics providers, including prometheus, statsd, influxdb.
2019-10-25 16:51:03 +08:00
李铭昕
a690f36b3e Added protocol. 2019-10-22 19:29:31 +08:00
Peter Kokot
4cf07d573f Add ext-swoole to composer requirement (#671) 2019-10-08 17:47:24 +08:00
Dacheng Gao
6524415bba Fix LICENSE link 2019-10-06 19:53:21 +08:00
黄朝晖
85a14a8375
Merge pull request #429 from chunhei2008/feat/validation
Add validation component
2019-09-29 18:03:18 +08:00
水煮牛肉
c8ea4ca394 Deleted useless code of guzzle. (#618)
* Deleted useless code of guzzle.

* Optimized .
2019-09-26 14:58:19 +08:00
huangzhhui
3f783a65be Merge remote-tracking branch 'upstream/master' into pr/429 2019-09-20 23:42:41 +08:00
黄朝晖
0c327bd0ca
Merge pull request #478 from Reasno/tracer
Adopt opentracing interfaces and support jaeger
2019-09-20 23:28:21 +08:00
李铭昕
784ed332a2 Merge branch 'master' into 1.0-merge 2019-09-20 09:55:03 +08:00
huangzhhui
3c7553e918 Merge remote-tracking branch 'upstream/master' into pr/478 2019-09-20 00:21:15 +08:00
李铭昕
67eb4af5c8
Fixed the next request will be effected after using stopPropagation. (#571)
* Create Propagation.php

* Fixed stopPropagation will effect the next request.

* Added testing.

* Update phpunit.xml

* Update CHANGELOG.md
2019-09-16 09:28:45 +08:00
wangyi
f2258295d0 Merge branch 'master' into feat/validation 2019-09-10 18:28:22 +08:00
李铭昕
ca05d123a9 Added testing. 2019-09-10 17:13:55 +08:00
huangzhhui
8b2b06df28 Optimized 2019-09-04 16:19:23 +08:00
黄朝晖
1ebf616c0f
Merge pull request #489 from sy-records/master
Update SwooleTracker
2019-09-03 10:07:42 +08:00
reasno
bf4ad4a932 Add Documentation
Merge branch 'master' into tracer

Pass PHPStan
2019-08-31 18:33:41 +08:00
Luffy
5919740780
Update composer.json 2019-08-30 16:34:16 +08:00
Reasno
fcad7ce6bf [Feature] Adopt opentracing interface and support jaeger
This PR unties all Zipkin details from the hyper/tracer. All tracing interaction is done through the standard Opentracing interfaces. Configuration format is slightly modified according to the discussion in #453. Two adapters are provided out of box, Zipkin and Jaeger. The architecture is made pluggable now. Anything that implements opentracing can be used as the underlying tracer. Users are free to implement their own solution.

Note you need to "composer require jonahgeorge/jaeger-client-php" to use Jaeger as tracer.
2019-08-29 16:36:14 +08:00
李铭昕
2c9dadfda4 Merge branch '1.0' into pr/429 2019-08-28 11:48:48 +08:00
李铭昕
3fd84b3027 Merge branch 'master' into 1.0-merge 2019-08-28 11:41:30 +08:00
huangzhhui
7faea6efff Add __(), trans() and trans_choice() functions 2019-08-28 02:13:37 +08:00
huangzhhui
2c26101f2b Merge remote-tracking branch 'upstream/1.0' into pr/428 2019-08-28 00:59:02 +08:00
李铭昕
f5c381bc5b Optimized phpstan.neon 2019-08-27 13:30:24 +08:00
李铭昕
b2044339d0 Added ProxyFactory into Container. 2019-08-26 15:01:49 +08:00
李铭昕
e6f9fd0cee Update 2019-08-26 14:51:04 +08:00
李铭昕
315ba20ad2 Added testing. 2019-08-25 14:29:44 +08:00
李铭昕
ca2f54895f Update composer.json 2019-08-25 11:47:10 +08:00
李铭昕
c1845bd5a5 Added phpstan. 2019-08-25 11:41:41 +08:00
李铭昕
06ef33dc3c Renamed model-listener from model-observer. 2019-08-23 14:42:05 +08:00
李铭昕
a9e3aca4d9 Moved testing. 2019-08-23 11:38:42 +08:00
李铭昕
baba702d6a Using hyperf/http-message instead of symfony/http-foundation. 2019-08-22 16:28:59 +08:00
李铭昕
b4307cdfc4 Revert "Deleted useless code."
This reverts commit b50b12bdf4.
2019-08-22 10:39:46 +08:00
李铭昕
b50b12bdf4 Deleted useless code. 2019-08-22 10:30:18 +08:00
李铭昕
ab66c7e260 Added testing. 2019-08-22 09:41:29 +08:00
wangyi
f401cd1c5c Add validation component 2019-08-20 21:06:13 +08:00
wangyi
7faca2b10a Add translation component 2019-08-20 20:58:28 +08:00
huangzhhui
db40fdb721 Add session component 2019-08-20 20:49:34 +08:00
李铭昕
5b49b9b92f Merge branch 'master' into 1.1 2019-08-15 16:03:48 +08:00
李铭昕
b3e585a735 Update ide version. 2019-08-14 15:50:57 +08:00
李铭昕
69a70fd6f9 Fixed bug. 2019-08-14 12:43:37 +08:00
李铭昕
60a1527cb0 Update 2019-08-14 11:17:05 +08:00
huangzhhui
a3d78ea94a Merge remote-tracking branch 'origin/master' into pr/370 2019-08-13 16:52:39 +08:00
huangzhhui
3ff1757b33 Add unit test 2019-08-13 16:50:14 +08:00
李铭昕
7efdda5df7 Added testing. 2019-08-08 18:52:13 +08:00
李铭昕
a0e7aa931b Merge branch 'master' into pr/338 2019-08-07 10:06:08 +08:00
Ye Wenbin
cfeacbd160 fix config function not found 2019-08-06 19:05:22 +08:00
李铭昕
c48eeb5bb5 Optimized code. 2019-08-06 13:58:48 +08:00
李铭昕
cb9b65a923 Added testing. 2019-08-06 11:05:45 +08:00
李铭昕
6adec30f7f Merge branch 'master' into pr/329 2019-08-06 10:23:34 +08:00
李铭昕
3ec896fbc1 Merge branch 'master' into pr/328 2019-08-05 09:36:22 +08:00
Ye Wenbin
3fc1bc2d7c add protocol property to rpc CoreMiddleware
在 \Hyperf\RpcServer\Router\DispatcherFactory 对象中需要使用在 PathGenerator
而这个对象在 \Hyperf\RpcServer\CoreMiddleware 中创建。之前的设计,
\Hyperf\RpcServer\Server 没有协议信息,为创建这个对象,需要加上。
2019-08-04 20:55:57 +08:00
李铭昕
e202a2eedc Deleted kuiper/doc-reader. 2019-08-04 12:41:46 +08:00
李铭昕
33836dcff6 Merge branch 'master' into pr/321 2019-08-04 12:00:44 +08:00
Ye Wenbin
32aeaa2a37 support convert path and namespace from psr-4 autoload rules in composer.json 2019-08-04 11:44:00 +08:00
Ye Wenbin
54321b0ad9
Merge branch 'master' into feature-node-id-generator 2019-08-03 14:31:58 +08:00
Ye Wenbin
f53b539a7a check consul service once 2019-08-02 15:45:49 +08:00
Ye Wenbin
b08153b3d4 add NodeRequestIdGenerator, an implementation of IdGeneratorInterface 2019-08-02 14:20:23 +08:00
Ye Wenbin
f70b882ec2 http-server CoreMiddleware::parseParameters support complex parameters
这个修改为后面 jsonrpc-http 增加参数识别。同时也可以基于这个实现类似
spring mvc 中 @ModelAttribute 功能
2019-08-02 11:44:58 +08:00
李铭昕
be0624338e Update composer.json 2019-08-02 10:26:05 +08:00
李铭昕
1a3ddb2683 Added composer json fixer. 2019-08-02 10:09:33 +08:00
李铭昕
1af6ffc252 Merge branch 'master' into pr/276 2019-07-29 10:09:27 +08:00
李铭昕
ca2e74daf9 Optimized code. 2019-07-27 15:57:48 +08:00
李铭昕
7dc9a97e44 Added kv::get from etcd. 2019-07-26 16:52:17 +08:00
李铭昕
b386fc8de3 Added config etcd component. 2019-07-26 13:32:54 +08:00
李铭昕
3dce42e846 Added etcd component. 2019-07-26 13:29:11 +08:00
李铭昕
efbd5d14ac Added testing. 2019-07-23 15:03:25 +08:00
李铭昕
466627b1b4
Merge pull request #189 from zcmzc/graphql
Added GraphQL component
2019-07-17 14:17:20 +08:00
李铭昕
a674682186 Merge remote-tracking branch 'upstream/master' into view 2019-07-17 13:51:02 +08:00
李铭昕
bed2f7c483 Added dispatcher testing. 2019-07-17 11:41:51 +08:00
李铭昕
994b7c3361 Renamed swoole-dashboard to swoole-enterprise. 2019-07-17 10:39:56 +08:00
李铭昕
97b3027576 Init task. 2019-07-13 17:33:56 +08:00
李铭昕
7343b4068b Init view. 2019-07-13 16:39:10 +08:00
张城铭
a1d498de9f Added GraphQL in composer.json 2019-07-11 18:00:59 +08:00
李铭昕
56d5978c42 Fixed testing. 2019-07-11 16:25:07 +08:00
李铭昕
cb9ee16d61 Merge branch 'master' into swoole-dashboard 2019-07-10 09:45:01 +08:00
李铭昕
9fc3afe469 Fixed TypeError: Return value of Hyperf\Paginator\LengthAwarePaginator::nextPageUrl() must be of the type string or null, none returned. 2019-07-09 17:50:55 +08:00
李铭昕
2bb7e9c852 Added swoole-dashboard. 2019-07-08 09:57:54 +08:00
李铭昕
5585ae6887 Added consult testing. 2019-07-06 12:45:57 +08:00
李铭昕
74ced428e3 Optimized async-queue. 2019-07-04 18:22:17 +08:00
李铭昕
137cd71034 Removed useless requirement. 2019-07-04 09:37:01 +08:00
李铭昕
5b3be06775 Fixed constants resolution failed when no message annotation exists. 2019-07-02 10:16:51 +08:00
李铭昕
40a7b5f38a Added phpunit. 2019-07-01 18:13:27 +08:00
李铭昕
cbafb70275 Added formatModel test. 2019-06-28 11:43:34 +08:00
李铭昕
c52216ef17 Added websocket client test. 2019-06-26 11:09:47 +08:00
李铭昕
7ee2920aa6 Fixed Redis::connect paramater 4 expects string. 2019-06-24 23:53:11 +08:00
李铭昕
5a1b7145bf Added travis support. 2019-06-24 13:10:41 +08:00
李铭昕
e04b44dcf2 Enable coroutine. 2019-06-20 17:29:14 +08:00
李铭昕
ce2924ddcc Added php-cs-fixer. 2019-06-20 09:54:15 +08:00
张城铭
4d7a98147a Added ExceptionHandler to composer.json 2019-06-08 15:52:59 +08:00
zcmzc
6cd972308c Add command to composer.json 2019-05-30 17:31:18 +08:00
daydaygo
e80adc9e60 fix: composer -> hyperf/grpc 2019-04-30 15:18:04 +08:00
李铭昕
7b86a7c533 Added test case for db-connection. 2019-04-28 11:30:53 +08:00
张城铭
f1a2f51b49 optimization 2019-04-25 18:07:31 +08:00
李铭昕
158b4f8a80 Added base server component. 2019-04-17 12:53:44 +08:00
李铭昕
12a4469ad8 Added unit test for logger. 2019-04-10 16:08:36 +08:00
李铭昕
97acc48ee4 Renamed queue to async-queue. 2019-04-08 15:28:41 +08:00
李铭昕
6e0f935054 Rename breaker to circuit-breaker. 2019-03-13 10:14:42 +08:00
李铭昕
c07e71c5df Added circuit breaker component. 2019-03-12 13:24:36 +08:00
huangzhhui
869b5c6019 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-03-11 19:33:50 +08:00
huangzhhui
a4926649da Added make() function unit test 2019-03-11 19:33:47 +08:00
张城铭
a28f39e4ff rate limit 2019-03-11 14:52:31 +08:00
李铭昕
9c9471702f Added a logger component for hyperf. 2019-03-05 17:47:37 +08:00
李铭昕
1f6d85957f Added elasticsearch component for hyperf. 2019-02-27 09:59:34 +08:00
huangzhhui
3b47191a62 Added foundation of apollo config-center 2019-02-26 00:57:26 +08:00
huangzhhui
b24d60c207 Migrate foundation swoole grpc client 2019-02-21 22:15:46 +08:00
huangzhhui
72caba45c7 Added DI functions, make() 2019-02-11 16:07:32 +08:00
huangzhhui
4a8beceb7f Added tracer component, implement open tracing 2019-02-11 12:09:11 +08:00
李铭昕
0849fb092b Added model-cache component. 2019-02-08 00:27:40 +08:00
huangzhhui
f64fb3d96f Add phpunit and autoload rules 2019-02-06 02:24:15 +08:00
李铭昕
ae2a5c4193 Fixed bug. 2019-01-31 17:34:28 +08:00
李铭昕
2e0109dc7b Added constants component. 2019-01-26 12:18:29 +08:00
李铭昕
194b66faa7 Added Model Cacheable. 2019-01-25 14:12:25 +08:00
huangzhhui
d530a23f2a Require doctrine/inflector 2019-01-23 16:32:16 +08:00
huangzhhui
404e503f3a Added ProcessorTest 2019-01-21 20:59:10 +08:00
李铭昕
f108c50ba1 Init amqplib. 2019-01-19 13:35:21 +08:00
张城铭
5618db39bd Merge remote-tracking branch 'origin/master' 2019-01-18 20:12:11 +08:00
张城铭
d398325ec9 extends Psr interface 2019-01-18 20:11:22 +08:00
huangzhhui
e2f4a0fc0f Added paginator 2019-01-18 18:24:56 +08:00
李铭昕
6d33971535 Init queue. 2019-01-17 15:34:22 +08:00
李铭昕
d9dc186281 Added hyperf/guzzle to composer.json. 2019-01-17 13:30:30 +08:00
huangzhhui
0d958e9ba1 Merge branch 'master' of github.com:hyperf-cloud/hyperf 2019-01-13 03:05:56 +08:00
huangzhhui
d2ffb2f274 Update composer.json 2019-01-13 03:05:50 +08:00
李铭昕
dd662ddf40 Added process. 2019-01-12 13:14:39 +08:00
李铭昕
04796971c5 Added redis-queue. 2019-01-12 11:50:49 +08:00
huangzhhui
7678f38d3f Fixed testcases namespace 2019-01-10 17:07:12 +08:00
huangzhhui
c2662c3210 Copy Eloquent tests 2019-01-08 15:10:49 +08:00
李铭昕
5739328973 Scan directories using full paths 2019-01-08 09:34:29 +08:00
huangzhhui
d649e83547 Added env 2019-01-07 23:13:12 +08:00
李铭昕
64a11672de Added nesbot/carbon 2019-01-03 20:10:00 +08:00
李铭昕
99b69da390 Added redis component 2019-01-03 19:16:02 +08:00
huangzhhui
f7d2f82d02 Implemented PSR-14 v0.7 2019-01-02 21:18:42 +08:00
huangzhhui
3904952697 Fix some namespace problems 2018-12-31 15:35:17 +08:00
huangzhhui
8124e33502 Added event manager foundation 2018-12-31 02:07:50 +08:00
李铭昕
6b5c7c2d92 Added pool. 2018-12-29 14:53:39 +08:00
李铭昕
d5d571a6f4 Modify namespace DbConnection 2018-12-29 13:41:23 +08:00
李铭昕
713c255249 Update database. 2018-12-29 11:59:16 +08:00
李铭昕
51e8e9296d Added devtool 2018-12-28 12:03:37 +08:00
huangzhhui
3d4971f769 Rename Hyperflex to Hyperf 2018-12-27 20:00:04 +08:00
huangzhhui
db054b2dd6 Update composer.json 2018-12-27 17:56:13 +08:00
huangzhhui
f31d08ad64 Added contract component, and moved ConfigInterface to contract component 2018-12-27 15:33:27 +08:00
huangzhhui
8c2f8728d9 init 2018-12-27 11:57:34 +08:00