Migrated repository
Go to file
2019-10-08 18:19:12 +08:00
.github Update FUNDING.yml 2019-08-13 14:13:05 +08:00
.travis Update hyperf.sql 2019-08-09 15:48:24 +08:00
bin Fixed bug. 2019-09-22 15:36:15 +08:00
doc 添加通过di自定义核心中间件的例子 2019-10-08 18:19:12 +08:00
src Fixed the table of Model is not correct when using gen:model. (#674) 2019-10-08 18:03:04 +08:00
.gitignore 优化 params 获取 2019-08-28 16:06:56 +08:00
.php_cs Added php-cs-fixer. 2019-06-20 09:54:15 +08:00
.travis.yml Merge remote-tracking branch 'upstream/master' into pr/478 2019-09-20 00:21:15 +08:00
bootstrap.php Added function swoole_hook_flags. 2019-09-10 16:26:54 +08:00
CHANGELOG.md Fixed the table of Model is not correct when using gen:model. (#674) 2019-10-08 18:03:04 +08:00
composer.json Add ext-swoole to composer requirement (#671) 2019-10-08 17:47:24 +08:00
LICENSE Update LICENSE 2019-10-07 10:01:51 +08:00
phpstan.neon Add Documentation 2019-08-31 18:33:41 +08:00
phpunit.xml Merge remote-tracking branch 'upstream/master' into pr/429 2019-09-20 23:42:41 +08:00
README-CN.md Update README-CN.md 2019-10-08 09:55:26 +08:00
README.md Update README.md 2019-10-08 09:57:51 +08:00

English | 中文

Build Status Financial Contributors on Open Collective Php Version Swoole Version Hyperf License

Introduction

Hyperf is a high-performance, highly flexible PHP CLI framework based on Swoole 4.4+. 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 common coroutine clients such as MySQL coroutine client and Redis coroutine client, the Hyperf component libraries are also prepared for the coroutine version of Eloquent ORM, WebSocket server and client, JSON RPC server and client, gRPC server and 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, Swoole Tracker, View engine (Blake/Smarty), Snowflake 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, Simply Redis MQ, RabbitMQ, Automatic model cache, Simple Cache, Seconds level crontab, Translation, Validation to meet a wide range of technical and business scenarios.

Original intention

Although many new PHP frameworks have appeared, we still haven't seen a comprehensive framework, which introduces an elegant design and ultra-high performance, suitable for PHP microservices and as an evangelist of PHP microservices. For the original intention of Hyperf and its team members, we will continue to invest in it, and you are welcome to join us to participate in open source development.

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, it providered an amazing performance, Hyperf team also makes a lots of code optimizations on the framework design to ensure ultra-high performance.

For flexibility, based on the powerful dependency injection component of Hyperf, all components are based on PSR and the contracts that 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 has 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://hyperf.wiki

Security Vulnerabilities

If you discover a security vulnerability within Hyperf, please send an e-mail to Hyperf Team via group@hyperf.io. All security vulnerabilities will be promptly addressed.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

The Hyperf framework is open-source software licensed under the MIT license.