hyperf/docs/zh-hk
2021-03-12 17:15:01 +08:00
..
component-guide Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
db v2.1.9 (#3340) 2021-03-08 09:09:58 +08: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 Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
quick-start Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
sdks Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
tutorial Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
upgrade Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
amqp.md Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
annotation.md v2.0.10 (#2450) 2020-09-07 12:55:20 +08:00
aop.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
async-queue.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
awesome-components.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
cache.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
changelog.md v2.1.9 (#3340) 2021-03-08 09:09:58 +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 (#3307) 2021-02-27 14:58:06 +08:00
config-center.md Update docs for etcd (#3304) 2021-02-24 14:17:31 +08:00
config.md Hyperf\Server\SwooleEvent will be deprecated in v3.0, please use Hyperf\Server\Event instead. (#2668) 2020-10-16 10:14:05 +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.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
crontab.md v2.0.13 (#2586) 2020-09-28 10:47:04 +08:00
devtool.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
di.md Add translate docs action (#3276) 2021-02-19 12:53:50 +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 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
etcd.md Update docs for etcd (#3304) 2021-02-24 14:17:31 +08:00
event.md v2.0.9 (#2385) 2020-08-31 13:40:33 +08:00
exception-handler.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
filesystem.md Add translate docs action (#3276) 2021-02-19 12:53:50 +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 Add translate docs action (#3276) 2021-02-19 12:53:50 +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 Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
kafka.md Release v2.1.7 (#3284) 2021-02-22 08:56:22 +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 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
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 v2.1.9 (#3340) 2021-03-08 09:09:58 +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 Add translate docs action (#3276) 2021-02-19 12:53:50 +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 Specifice the API is NSQD API 2020-08-17 02:50: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 Update document (#2372) 2020-08-28 18:13:38 +08:00
rate-limit.md Release v2.1.7 (#3284) 2021-02-22 08:56:22 +08:00
reactive-x.md fix typo 2020-07-21 17:45:08 +08:00
README.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
redis.md fix typo 2020-09-16 14:07:18 +08:00
release-planning.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08: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 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
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
scout.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
service-register.md remove ./ 2020-06-25 10:54:10 +08:00
session.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
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 Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
summary.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
swoole-tracker.md Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
task.md Hyperf\Server\SwooleEvent will be deprecated in v3.0, please use Hyperf\Server\Event instead. (#2668) 2020-10-16 10:14:05 +08:00
tcp-server.md Update communication.md (#3307) 2021-02-27 14:58:06 +08:00
testing.md v2.0.11 (#2503) 2020-09-14 11:02:38 +08:00
tracer.md Add translate docs action (#3276) 2021-02-19 12:53:50 +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 Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00
versions.md Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
view-engine.md Add translate docs action (#3276) 2021-02-19 12:53:50 +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 Add translate docs action (#3276) 2021-02-19 12:53:50 +08:00

2.1 介紹

Hyperf 是基於 Swoole 4.5+ 實現的高性能、高靈活性的 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。