{"repo":"true-async/php-clickhouse","free":true,"listed":false,"github":"https://github.com/true-async/php-clickhouse","clone":"git clone https://github.com/true-async/php-clickhouse.git","description":"Native asynchronous ClickHouse client for PHP TrueAsync, built on the official clickhouse-cpp native-protocol library.","language":"C++","stars":10,"topics":["async","clickhouse","php"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"php-clickhouse Native asynchronous ClickHouse client for PHP TrueAsync. Write sync, run async. Built on the official ClickHouse/clickhouse-cpp native-protocol library. Every network call looks synchronous but transparently yields the current coroutine while it waits on the socket. One Client serves many concurrent coroutines through a hidden per-coroutine connection pool. Features - Async over the TrueAsync reactor: non-blocking reads/writes; the coroutine yields instead of blocking the thread. - Native protocol with LZ4 / ZSTD compression. - Hidden per-coroutine pool: concurrent queries each get their own connection; dead connections are dropped and replaced automatically. - query() → Result : buffer with fetchAll() , stream with foreach (lazy, block by block), or read a scalar with fetchOne() ; carries server statistics ( summary() , affectedRows() ). - insert() : columnar batch insert; insertBatch() : streaming insert with built-in backpressure. - Native {name:Type} parameter binding: typed and injection-safe. - Rich type mapping: integers, floats, Bool , String , UUID , IPv4/IPv6 , Decimal , Enum , Date / DateTime → DateTimeImmutable , Array / Tuple / Map / Nullable , Int128 , LowCardinality(String) . - Multi-host failover and TLS ( ssl:// ). - Typed exceptions: ConnectionException , ServerException (with the server error code), ProtocolException ; caller mistakes raise \\ValueError . Requirements - PHP 8.x built with ZTS and the TrueAsync runtime. - A C++17 compiler and C","default_branch":null,"files":null,"tree":[],"storefront":"/r/true-async","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/true-async/php-clickhouse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}