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↓50%MITPHPPHP &gt;=7.1

Since Oct 7Pushed 7mo 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 1mo ago

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

34

—

LowBetter than 77% of packages

Maintenance44

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

1509d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[paragonie/csp-builder

Easily add and update Content-Security-Policy headers for your project

5412.8M18](/packages/paragonie-csp-builder)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)

PHPackages © 2026

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