reasno / druid
Coroutine Apache Druid Client for Hyperf
v0.1.0
2020-07-11 13:44 UTC
Requires
- php: >=7.2
- ext-swoole: >=4.5
- hyperf/di: 2.0.*
- hyperf/guzzle: 2.0.*
- level23/druid-client: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- hyperf/testing: 2.0.*
- phpstan/phpstan: ^0.12
- swoole/ide-helper: dev-master
This package is auto-updated.
Last update: 2025-03-12 02:28:15 UTC
README
This component provides Hyperf integration for level23/druid-client.
Installation
composer require reasno/druid
publish the configuration:
php bin/hyperf vendor:publish reasno/druid
Then you can inject Level23\Druid\DruidClient
anywhere via standard Hyperf DI, and enjoy coroutine connections to druid.
Documentation
See level23/druid-client.