PHPackages                             suyar/hyperf-clickhouse - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. suyar/hyperf-clickhouse

ActiveLibrary[HTTP &amp; Networking](/categories/http)

suyar/hyperf-clickhouse
=======================

ClickHouse Http Client.

v3.1.1(1y ago)23111MITPHPPHP &gt;=8.1

Since Sep 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/suyar/hyperf-clickhouse)[ Packagist](https://packagist.org/packages/suyar/hyperf-clickhouse)[ RSS](/packages/suyar-hyperf-clickhouse/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

ClickHouse http client for Hyperf.
==================================

[](#clickhouse-http-client-for-hyperf)

[![Latest Stable Version](https://camo.githubusercontent.com/427d60b28ef307568ae9ac865c41ecf6ecdcc8b3ffaf947db14ec52586c188a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73757961722f6879706572662d636c69636b686f757365)](https://packagist.org/packages/suyar/hyperf-clickhouse)[![Total Downloads](https://camo.githubusercontent.com/d2040a9c07cab318d388f2459632893671ea6fbadf99c10663bc226f2b4aeeda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73757961722f6879706572662d636c69636b686f757365)](https://packagist.org/packages/suyar/hyperf-clickhouse)[![License](https://camo.githubusercontent.com/38a534892f78c320ac6230d32b56b3fc598546da1ae78725197fd244528d3f06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73757961722f6879706572662d636c69636b686f757365)](https://github.com/suyar/hyperf-clickhouse)

Installation
------------

[](#installation)

Requirements:

- php: &gt;=8.1
- ext-zlib: \*
- ext-swoole: &gt;=5.0 (SWOOLE\_HOOK\_NATIVE\_CURL)
- Composer &gt;= 2.0

```
composer require suyar/hyperf-clickhouse
```

Usage
-----

[](#usage)

Publish the files of the clickhouse component:

```
php bin/hyperf.php vendor:publish suyar/hyperf-clickhouse
```

Modify your config file `config/autoload/clickhouse.php`:

```
