PHPackages                             seva-code/php-click-house-client - 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. seva-code/php-click-house-client

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

seva-code/php-click-house-client
================================

PHP Client for ClickHouse HTTP interface

1.2.x-dev(4y ago)45.5k↓33.3%MITPHPPHP &gt;=7.1

Since Oct 7Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/SevaCode/PhpClickHouseClient)[ Packagist](https://packagist.org/packages/seva-code/php-click-house-client)[ RSS](/packages/seva-code-php-click-house-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

PhpClickHouseClient
===================

[](#phpclickhouseclient)

PHP Client for [ClickHouse](https://github.com/yandex/ClickHouse) HTTP interface

Use examples
============

[](#use-examples)

```
$data = (new ChcClient())->getJsonData($query);
```

```
$client = new ChcClient();

try {
    if ($client->ping()) {
        $client->readOnly(true);
        $result = $client->getRaw($query, ChcFormat::JSONEachRow);
    } else {
        throw new Exception('ClickHouse is down.');
    }
}
catch (ChcException $e) {
    $error = $e->getMessage();
}
$latency = $client->getLastQueryLatency();
```

Install through [Composer](https://getcomposer.org/)
====================================================

[](#install-through-composer)

```
"require": {
    "seva-code/php-click-house-client": "^1.2.0-dev"
}
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance42

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1001 days

Total

3

Last Release

1554d ago

PHP version history (2 changes)1.0.0.x-devPHP &gt;=5.6

1.2.x-devPHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f03b9998da3091fab79e91cb2d02778aa418387256fe1b359f0f149313ecdbfc?d=identicon)[SevaCode](/maintainers/SevaCode)

---

Top Contributors

[![SevaCode](https://avatars.githubusercontent.com/u/15380908?v=4)](https://github.com/SevaCode "SevaCode (10 commits)")

---

Tags

clickhouse

### Embed Badge

![Health badge](/badges/seva-code-php-click-house-client/health.svg)

```
[![Health](https://phpackages.com/badges/seva-code-php-click-house-client/health.svg)](https://phpackages.com/packages/seva-code-php-click-house-client)
```

###  Alternatives

[smi2/phpclickhouse

PHP ClickHouse Client

84711.6M81](/packages/smi2-phpclickhouse)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[8bitov/clickhouse-php-client

6967.9k](/packages/8bitov-clickhouse-php-client)[lizhichao/one-ck

clickhouse tcp client

7426.9k4](/packages/lizhichao-one-ck)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
