hyperf/docs/zh-tw
2022-11-23 03:16:00 +00:00
..
component-guide Use Hyperf\LoadBalancer\Exception\RuntimeException instead of \RuntimeException. 2022-03-04 09:37:25 +08:00
db Update docs and translate 2022-11-23 03:16:00 +00:00
imgs Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
middleware Fixed bug that client failed to pull data from etcd. (#3726) 2021-06-23 11:14:35 +08:00
quick-start Update docs and translate 2022-11-23 03:16:00 +00:00
sdks Update docs and translate. 2021-09-09 09:29:08 +08:00
tutorial Update doc 2022-05-25 15:39:14 +08:00
upgrade Release v2.2.6 2021-08-30 10:46:59 +08:00
amqp.md Release v2.2.6 2021-08-30 10:46:59 +08:00
annotation.md Added command gen:view-engine-cache which used to generate cache files in advance. (#4455) 2022-01-14 11:54:28 +08:00
aop.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
async-queue.md Reinstall ext-swoole in github actions 2021-04-02 12:55:30 +08:00
awesome-components.md Update doc 2022-05-25 15:39:14 +08:00
cache.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
changelog.md Release v2.2.33 (#4791) 2022-05-30 09:48:00 +08:00
circuit-breaker.md Translate doc 2020-06-28 00:26:45 +08:00
command.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
communication.md Update communication.md (#5195) 2022-11-14 14:02:00 +08:00
config-center.md Added method Hyperf\Utils\Network::ip(). (#4284) 2021-11-23 17:01:56 +08:00
config.md Update docs and translate. 2021-09-09 09:29:08 +08:00
constants.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
consul.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
contribute.md docs(contribute): update pull request url 2020-06-26 19:20:17 +08:00
controller.md Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
coroutine-server.md Update docs and translate 2021-05-09 23:23:33 +00:00
coroutine.md Release v2.2.29 2022-03-27 17:01:45 +08:00
crontab.md Update devtool docs 2021-12-13 15:20:34 +08:00
dag.md Translate docs 2021-07-19 13:00:24 +08:00
devtool.md Update devtool docs 2021-12-13 15:20:34 +08:00
di.md Release v2.2.23 (#4459) 2022-01-17 10:00:07 +08:00
donate.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
elasticsearch.md Release v2.1.16 (#3522) 2021-04-26 08:25:52 +08:00
enterprise-service.md Release v2.2.26 (#4544) 2022-02-21 09:27:49 +08:00
etcd.md Update docs for etcd (#3304) 2021-02-24 14:17:31 +08:00
event.md Translate docs 2021-07-19 13:00:24 +08:00
exception-handler.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
filesystem.md Update docs and translate. 2021-09-09 09:29:08 +08:00
graphql.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
grpc.md Added some faqs about swarm. (#4179) 2021-10-27 17:02:09 +08:00
guzzle.md v2.1.9 (#3340) 2021-03-08 09:09:58 +08:00
jet.md Add doc 2020-08-10 02:12:16 +08:00
json-rpc.md Release v2.2.29 2022-03-27 17:01:45 +08:00
kafka.md Release v2.2.9 (#4081) 2021-09-22 09:46:38 +08:00
lifecycle.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
logger.md Translate document 2021-07-06 18:54:56 +08:00
memory.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
metric.md Use promphp instead of endclothing for prometheus_client_php. (#3676) 2021-06-05 22:39:01 +08:00
microservice.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
nacos.md Release v2.2.7 (#4008) 2021-09-06 10:50:20 +08:00
nano.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
nats.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
nsq.md Release v2.1.19 (#3637) 2021-05-31 09:44:47 +08:00
paginator.md Update paginator.md (#3361) 2021-03-12 17:15:01 +08:00
phar.md Release v2.1.7 (#3284) 2021-02-22 08:56:22 +08:00
pool.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
process.md Release v2.1.12 (#3427) 2021-03-29 09:30:55 +08:00
rate-limit.md Release v2.1.15 (#3497) 2021-04-18 22:51:00 +08:00
reactive-x.md fix typo 2020-07-21 17:45:08 +08:00
README.md Translate docs 2021-07-19 13:00:24 +08:00
redis.md fix typo 2020-09-16 14:07:18 +08:00
release-planning.md Update docs and translate 2022-11-21 07:41:58 +00:00
request.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
response.md Add HTTP Chunk docs (#4300) 2021-11-29 14:36:27 +08:00
retry.md v2.0.11 (#2503) 2020-09-14 11:02:38 +08:00
router.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
rpc-multiplex.md Release v2.2.4 2021-08-15 09:55:23 +08:00
rpn.md Use promphp instead of endclothing for prometheus_client_php. (#3676) 2021-06-05 22:39:01 +08:00
scout.md Update docs and translate. 2021-09-09 09:29:08 +08:00
service-register.md Make public for method Hyperf\ModelCache\Manager::formatModels(). (#4603) 2022-03-14 11:07:12 +08:00
session.md Release v2.1.15 (#3497) 2021-04-18 22:51:00 +08:00
signal.md Removed deprecated code. (#2648) 2020-10-13 10:30:14 +08:00
snowflake.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
socketio-server.md Update bootcss cdn link (#4640) 2022-03-30 13:28:07 +08:00
summary.md Update doc 2022-05-25 15:14:13 +08:00
swoole-tracker.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
task.md Fixed bug that property $workerId does not works in annotation @Task. (#3674) 2021-06-06 15:53:55 +08:00
tcp-server.md Use reactorId instead of fromId (#3509) 2021-04-21 17:16:31 +08:00
testing.md update testing.md 2022-03-07 09:34:38 +08:00
tracer.md Added document for using enable in @Crontab. (#3666) 2021-06-04 21:33:16 +08:00
translation.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
utils.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
validation.md Release v2.2.7 (#4008) 2021-09-06 10:50:20 +08:00
versions.md Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
view-engine.md Release v2.2.14 2021-11-01 09:48:56 +08:00
view.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
watcher.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
websocket-client.md Do not separate the docs folders by version, use git branch to distinguish the difference versions docs 2020-06-11 13:55:15 +08:00
websocket-server.md Release v2.2.31 (#4691) 2022-04-18 08:40:36 +08:00

2.2 介紹

Hyperf 是一個高效能、高靈活性的漸進式 PHP 協程框架,內建協程伺服器及大量常用的元件,效能較傳統基於 PHP-FPM 的框架有質的提升,提供超高效能的同時,也保持著極其靈活的可擴充套件性,標準組件均基於 PSR 標準 實現,基於強大的依賴注入設計,保證了絕大部分元件或類都是 可替換可複用 的。

框架元件庫除了常見的協程版的 MySQL 客戶端Redis 客戶端,還為您準備了協程版的 Eloquent ORMWebSocket 服務端及客戶端JSON RPC 服務端及客戶端GRPC 服務端及客戶端Zipkin/Jaeger (OpenTracing) 客戶端Guzzle HTTP 客戶端Elasticsearch 客戶端Consul 客戶端ETCD 客戶端AMQP 元件Apollo 配置中心阿里雲 ACM 應用配置管理ETCD 配置中心基於令牌桶演算法的限流器通用連線池熔斷器Swagger 文件生成Swoole Tracker檢視引擎Snowflake 全域性 ID 生成器 等元件,省去了自己實現對應協程版本的麻煩。

Hyperf 還提供了 基於 PSR-11 的依賴注入容器註解AOP 面向切面程式設計基於 PSR-15 的中介軟體自定義程序基於 PSR-14 的事件管理器Redis/RabbitMQ 訊息佇列自動模型快取基於 PSR-16 的快取Crontab 秒級定時任務國際化Validation 表單驗證器 等非常便捷的功能,滿足豐富的技術場景和業務場景,開箱即用。

框架初衷

儘管現在基於 PHP 語言開發的框架處於一個百家爭鳴的時代,但仍舊未能看到一個優雅的設計與超高效能的共存的完美框架,亦沒有看到一個真正為 PHP 微服務鋪路的框架,此為 Hyperf 及其團隊成員的初衷,我們將持續投入併為此付出努力,也歡迎你加入我們參與開源建設。

設計理念

Hyperspeed + Flexibility = Hyperf,從名字上我們就將 超高速靈活性 作為 Hyperf 的基因。

  • 對於超高速,我們基於 Swoole 協程並在框架設計上進行大量的優化以確保超高效能的輸出。
  • 對於靈活性,我們基於 Hyperf 強大的依賴注入元件,元件均基於 PSR 標準 的契約和由 Hyperf 定義的契約實現,達到框架內的絕大部分的元件或類都是可替換的。

基於以上的特點Hyperf 將存在豐富的可能性,如實現 Web 服務閘道器服務分散式中介軟體微服務架構遊戲伺服器物聯網IOT等。

生產可用

我們為元件進行了大量的單元測試以保證邏輯的正確,同時維護了高質量的文件,在 Hyperf 正式對外開放之前,便已經過了嚴酷的生產環境的考驗,我們才正式的對外開放該專案,至今,已有大量的大型/中小型網際網路公司在生產環境使用 Hyperf。