Hyperf v1.0.2 update multiple components, enterprise-class PHP micro framework service coroutine

v1.0.2 Updates

This update relates to the following components    hyperf / Database hyperf / DI hyperf / Event hyperf / HTTP-Server hyperf / Logger hyperf / Redis hyperf / Contract

Added

  • Access Travis CI, current single test Hyperf 426 coexist, 1124 asserts; # 25
  • To improve the Redis::connectparameters of support methods; # 29

Fixed

  • Fixed an issue HTTP Server will be affected WebSocket Server (WebSocket Server has not been published);
  • Fixed an issue where the proxy class generated no comment section;
  • Fixed an issue in a single database connection pool test environment will not get connected;
  • Fixed an issue where co-phpunit not run as expected in some cases;
  • Fixed model events creating, updating... running with the expected inconsistencies;
  • Fixed flushContextproblem method does not run as expected in a single test environment;

About Hyperf

Hyperf is based on Swoole 4.3+high-performance implementation of the high flexibility of PHP coroutine framework, built coroutine server and a large number of common components, the performance of traditional-based PHP-FPMframework to enhance the quality, providing ultra-high performance, but also maintains an extremely flexible scalability, standard components are all based on PSR standards to achieve, based on the powerful design of injection depend, to ensure that the vast majority of components or classes are 可替换with 可复用the. Framework component library addition to the common coroutine version MySQL 客户端, Redis 客户端also prepared for you a coroutine version of Eloquent ORM, JSON RPC 服务的及客户端, GRPC 服务端及客户端, Zipkin (OpenTracing) 客户端, Guzzle HTTP 客户端, Elasticsearch 客户端, Consul 客户端, ETCD 客户端, AMQP 组件, Apollo 配置中心, 阿里云 ACM 应用配置管理, 基于令牌桶算法的限流器, 通用连接池, 熔断器, Swagger 文档生成and other components, eliminating the trouble to achieve their own version of the corresponding coroutine, Hyperf also provides 基于 PSR-11 的依赖注入容器, 注解, AOP 面向切面编程, 基于 PSR-15 的中间件, 自定义进程, 基于 PSR-14 的事件管理器, Redis/RabbitMQ 消息队列, 自动模型缓存, 基于 PSR-16 的缓存and so very convenient feature-rich to meet the technical and business scene scene, out of the box.

Framework mind

Although now based framework PHP language development in an era of flowers contend, but still failed to see an elegant design and ultra-high performance perfect framework of coexistence, also I did not see a real framework for PHP micro pave the way for the service, this its original intention Hyperf team members, we will continue to invest and put the effort in, you are welcome to join us to participate in open-source development.

design concept

Hyperspeed + Flexibility = Hyperf, From the name we will 超高速and 灵活性as a gene Hyperf.

  • For ultra-high speed, we based Swoole coroutine and a lot of tuning on the frame designed to ensure ultra high performance output.
  • For flexibility, we inject a strong dependence on Hyperf components, the components are based on the PSR standards implementation contracts and contract defined by Hyperf, reach most of the components or classes within the framework are replaceable.

Based on the above characteristics, Hyperf there will be a wealth of possibilities, such as Web services, gateway services, distributed middleware, micro-service architecture, game servers, Things (IOT) and so on.

Complete documentation

We spend a lot of time for the construction of the document, to address a variety of documents missing since brought, the document also provides a number of examples, the novice is also friendly.

Production Available

We as a component of a large number of unit tests to ensure the correct logic, while maintaining a high-quality documents, before Hyperf formally opened (June 20, 2019), already in a Series C round of Internet companies and a B a number of on-line services and to stabilize posture perfect run for more than six months, after a harsh production environment (such as 618) test, we formally open the project.

Guess you like

Origin www.oschina.net/news/107764/hyperf-1-0-2-released