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 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>
鍙鐢?/code> 鐨勩€?/p>
銆?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 鏂囨。鐢熸垚MySQL 瀹㈡埛绔?/code>銆?code class="mq-89">Redis 瀹㈡埛绔?/code>锛岃繕涓烘偍鍑嗗浜嗗崗绋嬬増鐨?
銆?code class="mq-100">Nats 缁勪欢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 缁勪欢
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>
妗嗘灦鍒濊》
璁捐鐞嗗康
鍩轰簬浠ヤ笂鐨勭壒鐐癸紝Hyperf 灏嗗瓨鍦ㄤ赴瀵岀殑鍙兘鎬э紝濡傚疄鐜?鍗曚綋 Web 鏈嶅姟锛孉PI 鏈嶅姟锛岀綉鍏虫湇鍔★紝鍒嗗竷寮忎腑闂翠欢锛屽井鏈嶅姟鏋舵瀯锛屾父鎴忔湇鍔″櫒锛岀墿鑱旂綉锛圛OT锛夌瓑銆?/p>
鎴戜滑鎶曞叆浜嗗ぇ閲忕殑鏃堕棿鐢ㄤ簬鏂囨。鐨勫缓璁撅紝浠ヨВ鍐冲悇绉嶅洜涓烘枃妗g己澶辨墍甯︽潵鐨勯棶棰橈紝鏂囨。涓婁篃鎻愪緵浜嗗ぇ閲忕殑绀轰緥锛屽鏂版墜鍚屾牱鍙嬪ソ銆?br>Hyperf 瀹樻柟寮€鍙戞枃妗?/span>[18] 鎴戜滑涓虹粍浠惰繘琛屼簡澶ч噺鐨勫崟鍏冩祴璇曚互淇濊瘉閫昏緫鐨勬纭紝鐩墠瀛樺湪 Github[19] 馃憟馃憟馃憟馃憟馃憟 鐐?Star 鏀寔鎴戜滑 1.1.13: https://github.com/hyperf/hyperf/releases/tag/v1.1.13 hyperf.io: https://hyperf.io hyperf.wiki: https://hyperf.wiki #1137: https://github.com/hyperf/hyperf/pull/1137 #1165: https://github.com/hyperf/hyperf/pull/1165 #1195: https://github.com/hyperf/hyperf/pull/1195 #1204: https://github.com/hyperf/hyperf/pull/1204 #1216: https://github.com/hyperf/hyperf/pull/1216 #1221: https://github.com/hyperf/hyperf/pull/1221 #1175: https://github.com/hyperf/hyperf/pull/1175 #1199: https://github.com/hyperf/hyperf/pull/1199 #1200: https://github.com/hyperf/hyperf/pull/1200 #1210: https://github.com/hyperf/hyperf/pull/1210 #1211: https://github.com/hyperf/hyperf/pull/1211 #1217: https://github.com/hyperf/hyperf/pull/1217 PSR 鏍囧噯: https://www.php-fig.org/psr PSR 鏍囧噯: https://www.php-fig.org/psr Hyperf 瀹樻柟寮€鍙戞枃妗? https://hyperf.wiki Github: https://github.com/hyperf/hyperf Gitee 鐮佷簯: https://gitee.com/hyperf/hyperf Hyperf 瀹樼綉: https://hyperf.io Hyperf 鏂囨。: https://hyperf.wikiHyperspeed + Flexibility = Hyperf
锛屼粠鍚嶅瓧涓婃垜浠氨灏?瓒呴珮閫?/code> 鍜?
鐏垫椿鎬?/code> 浣滀负 Hyperf 鐨勫熀鍥犮€?/p>
鏂囨。榻愬叏
鐢熶骇鍙敤
1273
涓崟娴嬪叡 3754
涓柇瑷€鏉′欢锛屽悓鏃剁淮鎶や簡楂樿川閲忕殑鏂囨。锛屽湪 Hyperf 姝e紡瀵瑰寮€鏀?2019 骞?6 鏈?20 鏃?涔嬪墠锛屼究宸茬粡杩囦簡涓ラ叿鐨勭敓浜х幆澧冪殑鑰冮獙锛屾垜浠墠姝e紡鐨勫澶栧紑鏀捐椤圭洰锛岀幇鍦ㄥ凡鏈夊緢澶氱殑澶у瀷浜掕仈缃戜紒涓氶兘宸插皢 Hyperf 閮ㄧ讲鍒颁簡鑷繁鐨勭敓浜х幆澧冧笂骞剁ǔ瀹氳繍琛屻€?/p>
瀹樼綉鍙婁氦娴?/h1>
Gitee 鐮佷簯[20] 馃憟馃憟馃憟馃憟馃憟 鐐?Star 鏀寔鎴戜滑
Hyperf 瀹樼綉[21]
Hyperf 鏂囨。[22]
QQ 缇? 862099724鍙傝€冭祫鏂?/span>
以上是关于Hyperf 鍙戝竷 v1.1.13 鐗堟湰 | 浼佷笟绾х殑 PHP 寰湇鍔′簯鍘熺敓鍗忕▼妗嗘灦的主要内容,如果未能解决你的问题,请参考以下文章
Git 宸ヤ綔娴佺▼锛汫raphQL 浠庡叆闂ㄥ埌瀹炶返锛汚ngular 9.0 鍙戝竷锛両vy 姝e紡鎶佃揪