mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 12:47:55 +08:00
commit
5159eda440
12
README.md
12
README.md
@ -7,20 +7,22 @@ English | [中文](./README-CN.md)
|
||||
|
||||
# Introduction
|
||||
|
||||
Hyperf is a high-performance, highly flexible PHP CLI framework based on `Swoole 4.3+`. It has a built-in coroutine server and a large number of commonly used components. The performance is better than the traditional PHP-FPM-based framework, providing ultra-high performance, and also maintains extremely flexible scalability at the same time. Standard components are implemented in the latest PSR standards, and a powerful dependency injection design ensures that most components or classes within the framework are replaceable.
|
||||
Hyperf is a high-performance, highly flexible PHP CLI framework based on `Swoole 4.3+`. It has a built-in coroutine server with a large number of commonly used components. It provides ultra-high and better performance than the traditional PHP-FPM-based framework and also maintains extremely flexible scalability at the same time. Standard components are implemented in the latest PSR standards, and a powerful dependency injection design ensures that most components or classes within the framework are replaceable.
|
||||
|
||||
In addition to providing `MySQL coroutine client` and `Redis coroutine client`, these common coroutine client, the hyperf component library also prepares the coroutine version of `Eloquent ORM`, `GRPC server and client`, `Zipkin (OpenTracing) client`, `Guzzle HTTP client`, and `Elasticsearch client`, `Consul client`, `ETCD client`, `AMQP component`, `Apollo configuration center`, `token bucket algorithm-based limiter`, `universal connection pool`, etc. Avoids the trouble of implementing the corresponding coroutine version client by yourself. Also provides convenient functions such as `dependency injection`, `annotation`, `AOP (aspect-oriented programming)`, `middleware`, `custom processes`, `event manager`, `simple Redis message queue`, and `full-featured RabbitMQ message queue` to meet a wide range of technical scenarios and business scenarios.
|
||||
In addition to providing `MySQL coroutine client` and `Redis coroutine client`, common coroutine clients, the Hyperf component libraries are also prepared for the coroutine version of `Eloquent ORM`, `GRPC server and client`, `Zipkin (OpenTracing) client`, `Guzzle HTTP client`, `Elasticsearch client`, `Consul client`, `ETCD client`, `AMQP component`, `Apollo configuration center`, `token bucket algorithm-based limiter`, and `universal connection pool`, etc. Therefore, the trouble of implementing the corresponding coroutine version client by yourself can be avoided. Hyperf also provides convenient functions such as `dependency injection`, `annotation`, `AOP (aspect-oriented programming)`, `middleware`, `custom processes`, `event manager`, `simple Redis message queue`, and `full-featured RabbitMQ message queue` to meet a wide range of technical and business scenarios.
|
||||
|
||||
# Original intention
|
||||
|
||||
Although there are many new PHP frameworks have been appeared, but our still does not see a perfect framework for the coexistence of elegant design and ultra-high performance, nor does it see a framework that really paves the way for PHP microservices. For the original intention of Hyperf and its team members, we will continue to invest to it, and you are welcome to join us to participate in open source construction.
|
||||
Although there are many new PHP frameworks have been appeared, our team still has not seen a perfect framework which has the coexistence of elegant design and ultra-high performance, nor would we find a framework that really paves the way for PHP microservices. For the original intention of Hyperf and its team members, we will continue to invest to it, and you are welcome to join us to participate in open source construction.
|
||||
|
||||
# Design concept
|
||||
|
||||
`Hyperspeed + Flexibility = Hyperf`, from the framework name we have been used `hyperfspeed (ultra-high performance)` and `flexibility` as the gene of Hyperf.
|
||||
|
||||
For ultra-high performance, Hyperf based on the Swoole coroutine, and make a lots of optimization on the framework design to ensure ultra-high performance.
|
||||
For flexibility, Hyperf based on the powerful dependency injection component of Hyperf, which is based on [PSR](https://www.php-fig.org/psr) and the contracts defined by Hyperf, so that most of the components or classes within the framework are replaceable and re-useable.
|
||||
For ultra-high performance, Hyperf, based on the Swoole coroutine, makes a lots of optimizations on the framework design to ensure ultra-high performance.
|
||||
|
||||
For flexibility, Hyperf has a powerful dependency injection component based on [PSR](https://www.php-fig.org/psr) and the contracts are defined by Hyperf, so that most of the components or classes within the framework are replaceable and re-useable.
|
||||
|
||||
Based on the above characteristics, Hyperf will have a lots of possibilities, such as implementing Web servers, gateway servers, distributed middleware software, microservices architecture, game servers, and Internet of Things (IoT).
|
||||
|
||||
# Documentation
|
||||
|
Loading…
Reference in New Issue
Block a user