hyperf/docs/en
李铭昕 81873da8fd
Release v3.1.25 (#6838)
Co-authored-by: Weslen Teche <weslen_teche@hotmail.com>
2024-06-06 10:58:02 +08:00
..
changelog Release v3.1.25 (#6838) 2024-06-06 10:58:02 +08:00
component-guide Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
db Release v3.1.25 (#6838) 2024-06-06 10:58:02 +08:00
eco Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
imgs Remove useless images 2022-11-15 12:08:55 +08:00
middleware Release v3.1.20 (#6714) 2024-04-26 10:26:29 +08:00
quick-start Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
sdks Use Hyperf\Context\ApplicationContext instead of Hyperf\Utils\ApplicationContext. (#5621) 2023-04-11 15:57:32 +08:00
tutorial Typo: removed whitespace from breaking link (#6583) 2024-03-12 07:54:00 +08:00
upgrade update upgrade 3.1 doc (#6410) 2023-12-22 15:34:55 +08:00
amqp.md Release v3.1.20 (#6714) 2024-04-26 10:26:29 +08:00
annotation.md Added use Attribute into the document about annotations. 2023-10-27 14:42:29 +08:00
aop.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
async-queue.md adjustment in doc 2023-01-01 14:48:16 -03:00
awesome-components.md Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
cache.md Added MemoryDriver for hyperf/cache (#6542) 2024-02-20 11:22:01 +08:00
circuit-breaker.md Add callable type support to the fallback property of CircuitBreaker Attribute (#6363) 2023-12-07 11:25:12 +08:00
command.md Release v3.1.25 (#6838) 2024-06-06 10:58:02 +08:00
communication.md Split changelog docs. (#6211) 2023-10-12 22:08:55 -05:00
config-center.md Adds ConfigChanged docs for config-center (#5435) 2023-02-21 13:09:55 +08:00
config.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
constants.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
consul.md Fix incorrect markdown links in the documentation 2021-09-22 14:22:06 +08:00
contribute.md Translating the introduction section (About, Communication, Donate, Contribute), update the README.md to match the new About section, adding a CONTRIBUTING.md file to match the contribute section (#4105) 2021-09-29 11:54:56 +08:00
controller.md Correct translations on Mar 22, 2021 (#3413) 2021-03-23 18:21:18 +08:00
coroutine-server.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
coroutine.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
crontab.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
dag.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
devtool.md Release v3.1.20 (#6714) 2024-04-26 10:26:29 +08:00
di.md Typo: removed whitespace from breaking link (#6583) 2024-03-12 07:54:00 +08:00
distributed-transaction.md Update 2023-01-03 06:37:37 +08:00
donate.md Translating the introduction section (About, Communication, Donate, Contribute), update the README.md to match the new About section, adding a CONTRIBUTING.md file to match the contribute section (#4105) 2021-09-29 11:54:56 +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
enterprise-service.md Update doc [en] 2022-10-31 00:47:12 +07:00
etcd.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
event.md Release v3.1.20 (#6714) 2024-04-26 10:26:29 +08:00
exception-handler.md Release v3.1.20 (#6714) 2024-04-26 10:26:29 +08:00
filesystem.md Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
graphql.md Update doc [en] 2022-10-31 00:47:12 +07:00
grpc.md Upgrade docs about use camelcase naming convention for gRPC methods (#6430) 2024-01-04 10:06:27 +08:00
guzzle.md Use Hyperf\Coroutine\Coroutine instead of Hyperf\Utils\Coroutine (#5623) 2023-04-12 12:36:10 +08:00
jet.md Update jet.md 2020-08-11 01:39:21 +08:00
json-rpc.md Upgrade docs about class namespaces. (#6417) 2023-12-28 14:12:15 +08:00
kafka.md Release v3.1.14 (#6610) 2024-03-21 22:26:15 +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 Upgrade docs about cache, command and logger. (#6037) 2023-08-16 16:20:08 +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 Hyperf\Context\ApplicationContext instead of Hyperf\Utils\ApplicationContext. (#5621) 2023-04-11 15:57:32 +08:00
microservice.md Translate json-rpc, logger and microservice from zh-cn to en. Apr 8, 2021 (#3461) 2021-04-08 18:00:29 +08:00
nacos.md English Docs (#5669) 2023-04-25 09:32:59 +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 Update doc [en] 2022-10-31 00:47:12 +07:00
nsq.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
paginator.md Upgrade docs about class namespaces. (#6417) 2023-12-28 14:12:15 +08:00
phar.md English Docs (#5669) 2023-04-25 09:32:59 +08:00
pool.md Translate paginator, pool and rate-limit from zh-cn to en. Apr 18, 2021 (#3496) 2021-04-18 17:12:52 +08:00
process.md Typo: removed whitespace from breaking link (#6583) 2024-03-12 07:54:00 +08:00
rate-limit.md Release v3.1.25 (#6838) 2024-06-06 10:58:02 +08:00
reactive-x.md Upgrade docs about class namespaces. (#6417) 2023-12-28 14:12:15 +08:00
README.md Remove deprecated component swoole-tracker (#6244) 2023-11-01 10:32:14 +08:00
redis.md Release v3.1.23 (#6787) 2024-05-23 14:26:56 +08:00
release-planning.md Release v3.1.0 (#6340) 2023-12-01 00:00:30 +08:00
request.md Update English document about Annotation. 2022-01-13 12:09:04 +08:00
response.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
retry.md Update 2023-01-03 07:13:43 +08:00
router.md Optimize docs for annotation route (#6393) 2023-12-18 09:37:16 +08:00
rpc-multiplex.md Update doc [en] 2022-10-31 00:47:12 +07:00
rpn.md Update doc [en] 2022-10-31 00:47:12 +07:00
scout.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
service-register.md Update service-register.md (#6397) 2023-12-19 07:36:37 +08:00
session.md Update English document about Annotation. 2022-01-13 12:09:04 +08:00
signal.md update signal doc (#6262) 2023-11-07 14:21:06 +08:00
snowflake.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
socketio-server.md Upgrade docs about class namespaces. (#6417) 2023-12-28 14:12:15 +08:00
summary.md Optimized versions for en documents. 2024-05-15 14:42:24 +08:00
support.md Upgrade docs about replacing utils with support (#6425) 2024-01-01 19:52:20 +08:00
swagger.md Added docs about how to change swagger dashboard. (#6659) 2024-04-08 17:06:06 +08:00
task.md Use Hyperf\Coroutine\Coroutine instead of Hyperf\Utils\Coroutine (#5623) 2023-04-12 12:36:10 +08:00
tcp-server.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00
testing.md Use Hyperf\Context\ApplicationContext instead of Hyperf\Utils\ApplicationContext. (#5621) 2023-04-11 15:57:32 +08:00
tracer.md Adds RequestTraceListener for hyperf/tracer (#6062) 2023-09-05 18:19:28 +08:00
translation.md Fix translation demo code error. (#6190) 2023-10-08 04:01:41 -05:00
validation.md Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
versions.md Update the english doc 2020-07-27 02:32:06 +08:00
view-engine.md Release v3.1.16 (#6649) 2024-04-02 10:40:09 +08:00
view.md Update English document about Annotation. 2022-01-13 12:09:04 +08:00
watcher.md Optimized FswatchDriver which don't restart server by empty reading. (#6686) 2024-04-17 11:35:30 +08:00
websocket-client.md Update English document about Annotation. 2022-01-13 12:09:04 +08:00
websocket-server.md Release v3.1.8 (#6515) 2024-02-01 10:18:57 +08:00

Introduction

Hyperf is an extremely performant and flexible PHP CLI framework, powered by a state-of-the-art coroutine server and a large number of battle-tested components. Aside from decisively beating PHP-FPM frameworks in benchmarks, Hyperf is unique in its focus on flexibility and composition. Hyperf ships with an AOP-enabling (aspect-oriented programming) dependency injector to ensure components and classes are pluggable and meta-programmable. All of Hyperf's core components strictly follow PSR standards and can be used in other frameworks.

Hyperf's architecture is built using a combination of Coroutines, Dependency injection, Events, Annotations, and AOP. In addition to providing MySQL, Redis and other common coroutine clients, Hyperf also provides coroutine compatible versions of WebSocket server / client, JSON RPC server / client, gRPC server / client, Zipkin/Jaeger (OpenTracing) client, Guzzle HTTP client, Elasticsearch client, Consul client, ETCD client, AMQP component, Apollo configuration center, Aliyun ACM, ETCD configuration center, Token bucket algorithm-based limiter, Universal connection pool, Circuit breaker, Swagger, Snowflake, Simply Redis MQ, RabbitMQ, NSQ, Nats, Seconds level crontab, Custom Processes, etc. Therefore, developers can entirely avoid implementing coroutine compatible versions of these libraries.

Rest assured, Hyperf is still a PHP framework. Hyperf provides all the packages you expect: Middleware, Event Manager, Coroutine-optimized Eloquent ORM (and Model Cache!), Translation, Validation, View engine (Blade/Smarty/Twig/Plates/ThinkTemplate) and more.

Origin

Although there are many new PHP frameworks, we still haven't found a framework that matches an elegant design with ultra-high performance, nor have we found a framework that paves the way for PHP microservices. With this vision in mind, we will continue to invest in the future of this framework, and you are welcome to join us in contributing to the open-source development of Hyperf.

Design Goals

Hyperspeed + Flexibility = Hyperf. The equation hidden in our name exhibits Hyperf's founding ambition.

Hyperspeed: Leveraging Swoole and Swow coroutines, Hyperf is capable of handling massive amounts of traffic. The Hyperf team made many optimizations to the framework to eliminate every bottleneck between the end-user and our blazing engine.

Flexibility: We believe our Dependency Injection component is best in class. With the help of Hyperf DI, components and classes are all pluggable and meta-programmable. Inversely, all Hyperf components are meant to be shared with the world. Our commitment to PSR standards means that you can use Hyperf components in any compatible framework.

Via these traits, Hyperf has discovered the untapped potential in many fields: implementing Web servers, gateway servers, distributed middleware software, microservices architecture, game servers, and Internet-of-Things (IoT).

Production ready

Alongside our well-maintained, multilingual documentation, a large number of unit tests for each component ensure logical correctness. Before Hyperf was released to the public (2019-06-20), it had been privately used by some medium and large Internet companies for multiple services, which have been running without incident for years in harsh production environments.