symfonyx / clickhouse-service-provider
Clickhouse service provider for Silex
Installs: 366
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/symfonyx/clickhouse-service-provider
Requires
- php: ^7.0
- silex/silex: ~2.0
- smi2/phpclickhouse: ^0.17
This package is auto-updated.
Last update: 2025-10-10 00:54:09 UTC
README
phpClickHouse Service Provider for Silex PHP framework.
Installation
{
"require": {
"symfonyx/clickhouse-service-provider": "1.x-dev"
}
}
Usage
use Silex\Application; use Symfonyx\Silex\ClickhouseServiceProvider $app = new Application(); $app['clickhouse.params'] = [ 'host' => '127.0.0.1', 'port' => '8123', 'username' => 'default', 'password' => '', 'dbname' => 'default', 'timeout' => 10, 'connect_timeout' => 5 ]; $app->register(new ClickhouseServiceProvider('clickhouse'));
License
MIT License