PHPackages                             dmamontov/clickhouse-migrations-bundle - 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. dmamontov/clickhouse-migrations-bundle

ActiveSymfony-bundle

dmamontov/clickhouse-migrations-bundle
======================================

Symfony ClickhouseMigrationsBundle

1.0.5(2y ago)217.2k↓29.6%2MITPHPPHP &gt;=7.1

Since Nov 1Pushed 2y agoCompare

[ Source](https://github.com/dmamontov/clickhouse-migrations-bundle)[ Packagist](https://packagist.org/packages/dmamontov/clickhouse-migrations-bundle)[ RSS](/packages/dmamontov-clickhouse-migrations-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

ClickhouseMigrationsBundle
==========================

[](#clickhousemigrationsbundle)

This bundle added the migrations system for [clickhouse type Databases](https://clickhouse.tech/docs/)into Symfony applications. Database migrations help you version the changes in your database schema and apply them in a predictable way on every server running the application.

Install
-------

[](#install)

```
composer require dmamontov/clickhouse-migrations-bundle

```

Clickhouse connection
---------------------

[](#clickhouse-connection)

For use this bundle you need set clickhouse Client as Symfony service. As example:

```
#config/services.yaml
services:
    ClickHouseDB\Client:
        arguments:
            $connectParams:
                host: 'http://localhost'
                port: 8123
                username: 'username'
                password: ''
                sslCA: 'path_to_ssl_cert'
            $settings:
                database: 'default'
```

[More details about ClickHouseDB\\Client settings](https://github.com/smi2/phpClickHouse).

Settings
--------

[](#settings)

If you need set migrations, set clickhouse migrations configuration. But this is not necessary, these settings are set by default:

```
#config/packages/clickhouse_migrations.yaml
clickhouse_migrations:
    table_name: 'migrations_versions'
    migrations_path: '%kernel.project_dir%/clickhouse_migrations'
    migrations_namespace: 'ClickhouseMigrations'
```

Using
-----

[](#using)

Generate new migration class:

```
bin/console clickhouse:migrations:generate
```

Execute all unapplied migrations up:

```
bin/console clickhouse:migrations:migrate
```

One last migration down:

```
bin/console clickhouse:migrations:migrate down
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~50 days

Recently: every ~29 days

Total

6

Last Release

1043d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5955726?v=4)[Dmitry Mamontov](/maintainers/dmamontov)[@dmamontov](https://github.com/dmamontov)

---

Top Contributors

[![dmamontov](https://avatars.githubusercontent.com/u/5955726?v=4)](https://github.com/dmamontov "dmamontov (9 commits)")[![AKonnov](https://avatars.githubusercontent.com/u/19725844?v=4)](https://github.com/AKonnov "AKonnov (3 commits)")

---

Tags

migrationsclickhouse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmamontov-clickhouse-migrations-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dmamontov-clickhouse-migrations-bundle/health.svg)](https://phpackages.com/packages/dmamontov-clickhouse-migrations-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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