Registry / database / smi2-phpclickhouse

smi2-phpclickhouse

JSON →
library1.26.610phppackagistunverified

PHP ClickHouse Client

composer require smi2/phpclickhouse
INSTALL
IMPORT
SIG · SMI2-PHPCLICKHOUSE
S
smi2-phpclickhouse
databasephpv1.26.610
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use ClickHouseDB\Client;

Connect to ClickHouse and run a query.

use ClickHouseDB\Client; $config = ['host' => 'localhost', 'port' => '8123', 'username' => 'default', 'password' => '']; $client = new Client($config); $client->database('default'); $result = $client->select('SELECT 1');
Debug
Known issues
gotchaUses HTTP interface; requires allow_url_fopen or cURL.
fix
Enable allow_url_fopen or install cURL extension.
affects: >=1.0.0
Upgrade
Version history
1.26.610latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Meta
2
Resources
smi2-phpclickhouse — pip install smi2-phpclickhouse · libregistry