Hyperf is based on
Swoole 4.3+The high-performance and high-flexibility PHP coordination framework, built-in coordination server and a large number of commonly used components, has better performance than the traditional one based on
PHP-FPMThe framework of the has been improved qualitatively, providing ultra-high performance while maintaining extremely flexible scalability. The standard components are all based onPSR standardImplementation, based on a powerful dependency injection design, ensures that most components or classes are
In addition to the common coordinated version of the
Redis client, but also for you to prepare the association version of the
JSON RPC service's and clients、
GRPC server and client、
Zipkin (OpenTracing) client、
Guzzle HTTP client、
Apollo configuration center、
Ariyun ACM Application Configuration Management、
Current Limiter Based on Token Bucket Algorithm、
Universal connection pool、
Swagger document generationComponents such as, save yourself the trouble of implementing the corresponding coordination version, Hyperf also provides
Dependency Injection Container Based on PSR-11、
AOP Oriented Aspect Programming、
Middleware Based on PSR-15、
PSR-14 Based Event Manager、
Redis/RabbitMQ message queue、
Automatic model cache、
PSR-16 based cacheAnd other very convenient functions, meet the rich technical and business scenarios, out of the box.
Framework original intention
Although the framework developed based on PHP language is in an era of contention, we still have not seen a perfect framework of elegant design and ultra-high performance coexistence, nor a framework that really paves the way for PHP microservices. This is the original intention of Hyperf and its team members. We will continue to invest and make efforts for this and welcome you to join us in the open source construction.
Hyperspeed + Flexibility = HyperfFrom the name we will
FlexibilityAs the gene of Hyperf f.
- For ultra-high speed, we base on Swoole coordination process and make a lot of optimization in the framework design to ensure ultra-high performance output.
- For flexibility, we are based on Hyperf’s powerful dependency injection components, all of which are based onPSR standardThe contract of and the contract defined by Hyperf are implemented so that most components or classes within the framework are replaceable.
Based on the above characteristics, Hyperf will have rich possibilities, such as implementing Web services, gateway services, distributed middleware, microservice architecture, game servers, Internet of Things (IOT), etc.
We have invested a lot of time in the construction of documents to solve various problems caused by missing documents. The documents also provide a large number of examples and are equally friendly to beginners.
We conducted a large number of unit tests for the components to ensure the correct logic and maintained high-quality documents. Before Hyperf was officially opened to the public (June 20, 2019), we had already launched a number of services in a C-round and a B-round Internet company and had run the project perfectly for more than half a year in a stable manner. After passing the test of harsh production environment (such as 618), we officially opened the project to the public.