Co-authored-by: Deeka Wong <huangdijia@gmail.com> Co-authored-by: 李铭昕 <715557344@qq.com>
6.9 KiB
Awesome Components
All officially provided component libraries have been coroutined processed, safe to use within Hyperf or other coroutine frameworks. Based on Hyperf's openness and extensibility, the community could develop or adapt a variety of components to this, benefit from this, Hyperf will have unlimited possibilities.
This page will include a variety of Hyperf-compatible coroutine components and commonly used libraries that have been validated and safely used in coroutine, so you could quickly select the right components to complete your needs.
How do I submit my component ?
If the component you developed is adapted to Hyperf, then you can send a Pull Request
directly on the master
branch of the hyperf/hyperf project, which is to change the current page (en/awesome-components.md)
.
How to adapt Hyperf ?
We have provided you with a Hyperf component development guide to help you develop Hyperf component or adapt component to Hyperf framework.
Awesome Components
All officially provided component libraries have been coroutined processed, safe to use within Hyperf or other coroutine frameworks. Based on Hyperf's openness and extensibility, the community could develop or adapt a variety of components to this, benefit from this, Hyperf will have unlimited possibilities.
This page will include a variety of Hyperf-compatible coroutine components and commonly used libraries that have been validated and safely used in coroutine, so you could quickly select the right components to complete your needs.
How do I submit my component ?
If the component you developed is adapted to Hyperf, then you can send a Pull Request
directly on the master
branch of the hyperf/hyperf project, which is to change the current page (en/awesome-components.md)
.
How to adapt Hyperf ?
We have provided you with a Hyperf component development guide to help you develop Hyperf component or adapt component to Hyperf framework.
Component list
Route
- nikic/fastroute a commonly used high speed routing
- lazychanger/urlrewrite A URL rewriting tool based on the same routing rules as nikic/fastroute based on PSR-7
Event
- hyperf/event PSR-14 based event manager provided by Hyperf officially
Log
- hyperf/logger PSR-3 based log manager provided by Hyperf officially
Command
- hyperf/command Command management component based on symfony/console extension and support annotation provided by Hyperf officially
- symfony/console Independent command management component provided by Symfony
Database
- hyperf/database Based on the Eloquent database ORM forked by Hyperf, this component can be reused in other frameworks
- hyperf/model-cache Hyperf/database component-based automatic model caching component provided by Hyperf officially
Dependency injection container
- hyperf/di A dependency injection container provided by Hyperf officially, support annotations and AOP
Server
- hyperf/http-server The HTTP server provided by Hyperf officially
- hyperf/grpc-server The GRPC server provided by Hyperf officially
- hyperf/websocket-server The WebSocket server provided by Hyperf officially
- hyperf/rpc-server The abstract RPC server provided by Hyperf officially
Client
- hyperf/consul The Consul coroutine client provided by Hyperf officially
- hyperf/elasticsearch The Elasticsearch coroutine client provided by Hyperf officially
- hyperf/grpc-client The GRPC coroutine client provided by Hyperf officially
- hyperf/rpc-client The abstract RPC coroutine client provided by Hyperf officially
- hyperf/guzzle The Guzzle HTTP coroutine client provided by Hyperf officially
- hyperf/redis The Redis coroutine client provided by Hyperf officially
- hyperf/websocket-client The WebSocket coroutine client provided by Hyperf officially
- hyperf/cache PSR-16-based cache coroutine client provided by Hyperf officially
- friendsofhyperf/http-client The Guzzle HTTP coroutine client based on Hyperf
- friendsofhyperf/openai-client The OpenAI coroutine client based on Hyperf
Testing
- hyperf/testing Hyperf's official unit testing component
- friendsofhyperf/pest-plugin-hyperf Pest plugin designed specifically for Hyperf, providing coroutine environment support for Pest.
Message queue
- hyperf/amqp AMQP coroutine component provided by Hyperf officially
- hyperf/async-queue Redis-based asynchronous queue component provided by Hyperf officially
Configuration center
- hyperf/config-apollo Apollo Configuration Center Component provided by Hyperf officially
- hyperf/config-aliyun-acm Aliyun ACM Application Configuration Service Component provided by Hyperf officially
Service governance
- hyperf/json-rpc JSON-RPC protocol component provided by Hyperf officially
- hyperf/rate-limit Token bucket algorithm-based rate limiter component provided by Hyperf officially
- hyperf/load-balancer Load balancer component provided by Hyperf officially
- hyperf/service-governance Service governance component provided by Hyperf officially
- hyperf/tracer OpenTracing component provided by Hyperf officially
- hyperf/circuit-breaker service circuit breaker component provided by Hyperf officially
Annotation Configuration
- hyperf-helper/dependency Use annotations to quickly configure dependencies and support dependency priority.