Hyperf 鍙戝竷 v1.1.13 鐗堟湰 | 浼佷笟绾х殑 PHP 寰湇鍔′簯鍘熺敓鍗忕▼妗嗘灦

Posted Hyperf

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Hyperf 鍙戝竷 v1.1.13 鐗堟湰 | 浼佷笟绾х殑 PHP 寰湇鍔′簯鍘熺敓鍗忕▼妗嗘灦相关的知识,希望对你有一定的参考价值。

鏇存柊鍐呭

鏈懆鏇存柊涓昏涓轰竴涓?Bugfix 鐗堟湰锛屾垜浠慨澶嶄簡涓€浜涚粍浠剁殑 馃悰Bug 骞舵柊澧炰簡涓€閮ㄥ垎鐗规€э紝鍙戝竷浜?1.1.13[1] 鐗堬紝寤鸿浣跨敤 1.1 鐨勭敤鎴锋洿鏂般€?/p>

鐩存帴璁块棶 瀹樼綉 hyperf.io[2] 鎴?鏂囨。 hyperf.wiki[3] 鏌ョ湅鏇存柊鍐呭銆?/p>

鏂板

  • #1137 [4] constants 缁勪欢澧炲姞鍥介檯鍖栨敮鎸併€?
  • #1165 [5] Hyperf\HttpServer\Contract\RequestInterface 鏂板 route 鏂规硶銆?
  • #1195 [6] 娉ㄨВ Cacheable 鍜? CachePut 澧炲姞鏈€澶ц秴鏃舵椂闂村亸绉婚噺閰嶇疆銆?
  • #1204 [7] database 缁勪欢澧炲姞浜? insertOrIgnore 鏂规硶銆?
  • #1216 [8] RenderInterface::render() 鏂规硶鐨? $data 鍙傛暟锛屾坊鍔犱簡榛樿鍊笺€?
  • #1221 [9] swoole-tracker 缁勪欢娣诲姞浜? traceId 鍜? spanId銆?

淇

  • #1175 [10] 淇 Hyperf\Utils\Collection::random 褰撲紶鍏? null 鏃讹紝鏃犳硶姝e父宸ヤ綔鐨? BUG銆?
  • #1199 [11] 淇浣跨敤 Task 娉ㄨВ鏃讹紝鍙傛暟鏃犳硶浣跨敤鍔ㄦ€佸彉閲忕殑 BUG銆?
  • #1200 [12] 淇 metric 缁勪欢锛岃姹傝矾寰勪細鎼哄甫鍙傛暟鐨? BUG銆?
  • #1210 [13] 淇楠岃瘉鍣ㄨ鍒? size 鏃犳硶浣滅敤浜? integer 鐨? BUG銆?

浼樺寲

  • #1211 [14] 鑷姩灏嗛」鐩悕杞寲涓? prometheus 鐨勮鑼冨懡鍚嶃€?

淇敼

  • #1217 [15] 灏? zendframework/zend-mime 鏇挎崲涓? laminas/laminas-mine銆?

鍏充簬 Hyperf

Hyperf 鏄熀浜?Swoole 4.4+ 瀹炵幇鐨勯珮鎬ц兘銆侀珮鐏垫椿鎬х殑 php 鍗忕▼妗嗘灦锛屽唴缃崗绋嬫湇鍔″櫒鍙婂ぇ閲忓父鐢ㄧ殑缁勪欢锛屾€ц兘杈冧紶缁熷熀浜?PHP-FPM 鐨勬鏋舵湁璐ㄧ殑鎻愬崌锛屾彁渚涜秴楂樻€ц兘鐨勫悓鏃讹紝涔熶繚鎸佺潃鏋佸叾鐏垫椿鐨勫彲鎵╁睍鎬э紝鏍囧噯缁勪欢鍧囧熀浜?PSR 鏍囧噯[16] 瀹炵幇锛屽熀浜庡己澶х殑渚濊禆娉ㄥ叆璁捐锛屼繚璇佷簡缁濆ぇ閮ㄥ垎缁勪欢鎴栫被閮芥槸 鍙浛鎹?/code> 涓?鍙鐢?/code> 鐨勩€?/p>

妗嗘灦缁勪欢搴撻櫎浜嗗父瑙佺殑鍗忕▼鐗堢殑 MySQL 瀹㈡埛绔?/code>銆?code class="mq-89">Redis 瀹㈡埛绔?/code>锛岃繕涓烘偍鍑嗗浜嗗崗绋嬬増鐨?Eloquent ORM銆?code class="mq-91">WebSocket 鏈嶅姟绔強瀹㈡埛绔?/code>銆?code class="mq-92">JSON RPC 鏈嶅姟绔強瀹㈡埛绔?/code>銆?code class="mq-93">GRPC 鏈嶅姟绔強瀹㈡埛绔?/code>銆?code class="mq-94">OpenTracing(Zipkin, Jaeger) 瀹㈡埛绔?/code>銆?code class="mq-95">Guzzle HTTP 瀹㈡埛绔?/code>銆?code class="mq-96">Elasticsearch 瀹㈡埛绔?/code>銆?code class="mq-97">Consul 瀹㈡埛绔?/code>銆?code class="mq-98">ETCD 瀹㈡埛绔?/code>銆?code class="mq-99">AMQP 缁勪欢銆?code class="mq-100">Nats 缁勪欢銆?code class="mq-101">Apollo銆丒TCD銆乑ookeeper 鍜岄樋閲屼簯 ACM 鐨勯厤缃腑蹇?/code>銆?code class="mq-102">鍩轰簬浠ょ墝妗剁畻娉曠殑闄愭祦鍣?/code>銆?code class="mq-103">閫氱敤杩炴帴姹?/code>銆?code class="mq-104">鐔旀柇鍣?/code>銆?code class="mq-105">Swagger 鏂囨。鐢熸垚銆?code class="mq-106">Swoole Tracker銆?code class="mq-107">Blade銆丼marty銆乀wig銆丳lates 鍜?ThinkTemplate 瑙嗗浘寮曟搸銆?code class="mq-108">Snowflake 鍏ㄥ眬ID鐢熸垚鍣?/code>銆?code class="mq-109">Prometheus 鐩戞帶 绛夌粍浠讹紝鐪佸幓浜嗚嚜宸卞疄鐜板搴斿崗绋嬬増鏈殑楹荤儲銆?/p>

Hyperf 杩樻彁渚涗簡 鍩轰簬 PSR-11 鐨勪緷璧栨敞鍏ュ鍣?/code>銆?code class="mq-112">娉ㄨВ銆?code class="mq-113">AOP 闈㈠悜鍒囬潰缂栫▼銆?code class="mq-114">鍩轰簬 PSR-15 鐨勪腑闂翠欢銆?code class="mq-115">鑷畾涔夎繘绋?/code>銆?code class="mq-116">鍩轰簬 PSR-14 鐨勪簨浠剁鐞嗗櫒銆?code class="mq-117">Redis/RabbitMQ 娑堟伅闃熷垪銆?code class="mq-118">鑷姩妯″瀷缂撳瓨銆?code class="mq-119">鍩轰簬 PSR-16 鐨勭紦瀛?/code>銆?code class="mq-120">Crontab 绉掔骇瀹氭椂浠诲姟銆?code class="mq-121">Session銆?code class="mq-122">i18n 鍥介檯鍖?/code>銆?code class="mq-123">Validation 琛ㄥ崟楠岃瘉 绛夐潪甯镐究鎹风殑鍔熻兘锛屾弧瓒充赴瀵岀殑鎶€鏈満鏅拰涓氬姟鍦烘櫙锛屽紑绠卞嵆鐢ㄣ€?/p>

妗嗘灦鍒濊》

璁捐鐞嗗康

Hyperspeed + Flexibility = Hyperf锛屼粠鍚嶅瓧涓婃垜浠氨灏?瓒呴珮閫?/code> 鍜?鐏垫椿鎬?/code> 浣滀负 Hyperf 鐨勫熀鍥犮€?/p>

  • 瀵逛簬瓒呴珮閫燂紝鎴戜滑鍩轰簬 Swoole 鍗忕▼骞跺湪妗嗘灦璁捐涓婅繘琛屽ぇ閲忕殑浼樺寲浠ョ‘淇濊秴楂樻€ц兘鐨勮緭鍑恒€?
  • 瀵逛簬鐏垫椿鎬э紝鎴戜滑鍩轰簬 Hyperf 寮哄ぇ鐨勪緷璧栨敞鍏ョ粍浠讹紝缁勪欢鍧囧熀浜? PSR 鏍囧噯 [17] 鐨勫绾﹀拰鐢?Hyperf 瀹氫箟鐨勫绾﹀疄鐜帮紝杈惧埌妗嗘灦鍐呯殑缁濆ぇ閮ㄥ垎鐨勭粍浠舵垨绫婚兘鏄彲鏇挎崲鐨勩€?

鍩轰簬浠ヤ笂鐨勭壒鐐癸紝Hyperf 灏嗗瓨鍦ㄤ赴瀵岀殑鍙兘鎬э紝濡傚疄鐜?鍗曚綋 Web 鏈嶅姟锛孉PI 鏈嶅姟锛岀綉鍏虫湇鍔★紝鍒嗗竷寮忎腑闂翠欢锛屽井鏈嶅姟鏋舵瀯锛屾父鎴忔湇鍔″櫒锛岀墿鑱旂綉锛圛OT锛夌瓑銆?/p>

鏂囨。榻愬叏

鎴戜滑鎶曞叆浜嗗ぇ閲忕殑鏃堕棿鐢ㄤ簬鏂囨。鐨勫缓璁撅紝浠ヨВ鍐冲悇绉嶅洜涓烘枃妗g己澶辨墍甯︽潵鐨勯棶棰橈紝鏂囨。涓婁篃鎻愪緵浜嗗ぇ閲忕殑绀轰緥锛屽鏂版墜鍚屾牱鍙嬪ソ銆?br>Hyperf 瀹樻柟寮€鍙戞枃妗?/span>[18]

鐢熶骇鍙敤

鎴戜滑涓虹粍浠惰繘琛屼簡澶ч噺鐨勫崟鍏冩祴璇曚互淇濊瘉閫昏緫鐨勬纭紝鐩墠瀛樺湪 1273 涓崟娴嬪叡 3754 涓柇瑷€鏉′欢锛屽悓鏃剁淮鎶や簡楂樿川閲忕殑鏂囨。锛屽湪 Hyperf 姝e紡瀵瑰寮€鏀?2019 骞?6 鏈?20 鏃?涔嬪墠锛屼究宸茬粡杩囦簡涓ラ叿鐨勭敓浜х幆澧冪殑鑰冮獙锛屾垜浠墠姝e紡鐨勫澶栧紑鏀捐椤圭洰锛岀幇鍦ㄥ凡鏈夊緢澶氱殑澶у瀷浜掕仈缃戜紒涓氶兘宸插皢 Hyperf 閮ㄧ讲鍒颁簡鑷繁鐨勭敓浜х幆澧冧笂骞剁ǔ瀹氳繍琛屻€?/p>

瀹樼綉鍙婁氦娴?/h1>

Github[19] 馃憟馃憟馃憟馃憟馃憟 鐐?Star 鏀寔鎴戜滑
Gitee 鐮佷簯[20] 馃憟馃憟馃憟馃憟馃憟 鐐?Star 鏀寔鎴戜滑
Hyperf 瀹樼綉[21]
Hyperf 鏂囨。[22]
QQ 缇? 862099724

鍙傝€冭祫鏂?/span>

[1]

1.1.13: https://github.com/hyperf/hyperf/releases/tag/v1.1.13

[2]

hyperf.io: https://hyperf.io

[3]

hyperf.wiki: https://hyperf.wiki

[4]

#1137: https://github.com/hyperf/hyperf/pull/1137

[5]

#1165: https://github.com/hyperf/hyperf/pull/1165

[6]

#1195: https://github.com/hyperf/hyperf/pull/1195

[7]

#1204: https://github.com/hyperf/hyperf/pull/1204

[8]

#1216: https://github.com/hyperf/hyperf/pull/1216

[9]

#1221: https://github.com/hyperf/hyperf/pull/1221

[10]

#1175: https://github.com/hyperf/hyperf/pull/1175

[11]

#1199: https://github.com/hyperf/hyperf/pull/1199

[12]

#1200: https://github.com/hyperf/hyperf/pull/1200

[13]

#1210: https://github.com/hyperf/hyperf/pull/1210

[14]

#1211: https://github.com/hyperf/hyperf/pull/1211

[15]

#1217: https://github.com/hyperf/hyperf/pull/1217

[16]

PSR 鏍囧噯: https://www.php-fig.org/psr

[17]

PSR 鏍囧噯: https://www.php-fig.org/psr

[18]

Hyperf 瀹樻柟寮€鍙戞枃妗? https://hyperf.wiki

[19]

Github: https://github.com/hyperf/hyperf

[20]

Gitee 鐮佷簯: https://gitee.com/hyperf/hyperf

[21]

Hyperf 瀹樼綉: https://hyperf.io

[22]

Hyperf 鏂囨。: https://hyperf.wiki


以上是关于Hyperf 鍙戝竷 v1.1.13 鐗堟湰 | 浼佷笟绾х殑 PHP 寰湇鍔′簯鍘熺敓鍗忕▼妗嗘灦的主要内容,如果未能解决你的问题,请参考以下文章

Git 宸ヤ綔娴佺▼锛汫raphQL 浠庡叆闂ㄥ埌瀹炶返锛汚ngular 9.0 鍙戝竷锛両vy 姝e紡鎶佃揪

杩囦簡涓€閬?Swift 4.1 鏂囨。

Playgrounds鍙互鍦╩acOS绯荤粺涓婁娇鐢ㄥ暒

React Status 涓枃鍛ㄥ垔 #39 - 浜斿ぇ React 妗嗘灦娴嬭瘎

銆愮1203鏈熴€憌ebpack 4 鍙戝竷浜嗭紒

(c)2006-2024 SYSTEM All Rights Reserved IT常识