smi2/phpclickhouse
PHP client for ClickHouse with an easy, fluent API. Supports queries and inserts, result sets, bindings, and connection configuration for fast analytics workflows. Suitable for Laravel and standalone PHP apps needing reliable ClickHouse access.
Build vs. Buy Decision:
phpClickHouse to avoid reinventing a ClickHouse PHP client, leveraging its mature feature set (async queries, native parameter binding, cluster support) and reducing development time.Feature Roadmap:
{name:Type}) to eliminate SQL injection risks in dynamic queries.max_block_size).Use Cases:
INSERT INTO ... SELECT) with error handling for large-scale moves.Adopt if:
ext-curl/ext-json).{id:UInt32}) prevent SQL injection at the protocol level.Look elsewhere if:
For Executives: "phpClickHouse is a battle-tested, lightweight PHP client for ClickHouse that accelerates our data pipeline development. It eliminates SQL injection risks with native typed parameters, supports high-throughput bulk inserts (critical for [X use case]), and enables concurrent queries for real-time analytics. With zero external dependencies and cluster support, it’s a cost-effective choice to reduce engineering overhead by 30% compared to building a custom solution. The MIT license and active community (847 stars) ensure long-term viability."
For Engineering: *"This package gives us a production-ready ClickHouse client with:
{name:Type} binding blocks SQL injection at the protocol level.Trade-offs:
Recommendation: Use for analytics pipelines, data warehousing, and high-volume ingestion. Pair with [X framework] for API abstraction if needed."*
How can I help you explore Laravel packages today?