Migrated repository
Go to file
2019-07-02 18:44:48 +08:00
.github Update issue templates 2019-06-20 23:50:39 +08:00
.travis Fixed priority. 2019-06-24 16:15:18 +08:00
bin Optimized split.sh 2019-06-27 17:43:05 +08:00
src Merge branch 'redis_select' of https://github.com/limingxinleo/hyperf into redis_select 2019-07-02 18:44:18 +08:00
.gitignore Create .gitignore 2018-12-27 15:12:18 +08:00
.php_cs Added php-cs-fixer. 2019-06-20 09:54:15 +08:00
.travis.yml Revert. 2019-06-24 17:27:03 +08:00
bootstrap.php Fixed Migration. 2019-06-24 13:40:24 +08:00
CHANGELOG.md Update CHANGELOG.md 2019-07-02 18:44:48 +08:00
composer.json Fixed constants resolution failed when no message annotation exists. 2019-07-02 10:16:51 +08:00
LICENSE.md Use MIT license 2019-05-29 20:38:01 +08:00
phpunit.xml Fixed constants resolution failed when no message annotation exists. 2019-07-02 10:16:51 +08:00
README-CN.md Added badges and language switch 2019-06-28 16:52:36 +08:00
README.md Update Readme 2019-06-29 11:27:19 +08:00

English | 中文

Build Status Php Version Swoole Version Hyperf License

Introduction

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, 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, 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, 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 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

https://doc.hyperf.io/