PHPackages                             vardumper/ibexa-automatic-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. [Admin Panels](/categories/admin)
4. /
5. vardumper/ibexa-automatic-migrations-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

vardumper/ibexa-automatic-migrations-bundle
===========================================

Ibexa automatic migrations bundle eliminates the need to manually create migrations for various admin changes. Migration files are automatically generated when settings change in the admin panel.

0.1.15(1mo ago)570[5 PRs](https://github.com/vardumper/IbexaAutomaticMigrationsBundle/pulls)MITPHPPHP &gt;=8.1CI passing

Since Jan 12Pushed 1mo agoCompare

[ Source](https://github.com/vardumper/IbexaAutomaticMigrationsBundle)[ Packagist](https://packagist.org/packages/vardumper/ibexa-automatic-migrations-bundle)[ Docs](https://github.com/vardumper/IbexaAutomaticMigrationsBundle)[ Fund](https://www.buymeacoffee.com/vardumper)[ Fund](https://www.patreon.com/vardumper)[ RSS](/packages/vardumper-ibexa-automatic-migrations-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (22)Used By (0)

   [ ![Ibexa Logo](https://camo.githubusercontent.com/eaca7ff6afc475ad5009191851b83057df684df9d40fe1a1ba0a47535a7c29e0/68747470733a2f2f76617264756d7065722e6769746875622e696f2f657874656e6465642d68746d6c646f63756d656e742f6c6f676f2d69626578612e737667) ](https://ibexa.co)   [ ![Database Migrations Icon](https://camo.githubusercontent.com/e6c543b0967893f255a4ff8748f79e3b9a5faec9b764e7cb80f020273ddcfdd6/68747470733a2f2f76617264756d7065722e6769746875622e696f2f657874656e6465642d68746d6c646f63756d656e742f646174612d6d6967726174696f6e2e706e67) ](https://www.php.net/manual/de/class.dom-htmldocument.php)  IbexaAutomaticMigrationsBundle
==============================

[](#ibexaautomaticmigrationsbundle)

[ ![](https://camo.githubusercontent.com/09af0569686ea7ec06130b8efe61563419ab3994fe4da1e23d93a9755fe6b5e3/68747470733a2f2f64747261636b2e6572696b706f65686c65722e75732f6170692f76312f62616467652f76756c6e732f70726f6a6563742f63666634376437312d663266652d343938352d626666662d3366396334303933316533333f6170694b65793d6f64745f4a354f4b7a394a6357704b416e717a383077687854767741336f516a47424779) ![Latest Stable Version](https://camo.githubusercontent.com/a2a9f8cd196fb9664f4f252951b26430a3ab411226a5d3ccdddc361c9f733163/68747470733a2f2f706f7365722e707567782e6f72672f76617264756d7065722f69626578612d6175746f6d617469632d6d6967726174696f6e732d62756e646c652f762f737461626c65)](https://packagist.org/packages/vardumper/ibexa-automatic-migrations-bundle)[![Total Downloads](https://camo.githubusercontent.com/39f9180a24cb54fb3a13e16d2ee458ac00556fe6b7e274969897304c4724307a/68747470733a2f2f706f7365722e707567782e6f72672f76617264756d7065722f69626578612d6175746f6d617469632d6d6967726174696f6e732d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/vardumper/ibexa-automatic-migrations-bundle) [![Static Badge](https://camo.githubusercontent.com/0395833017ab75581633c6828b2a15a3e2b8146edfd2fc916b8c4dab59859441/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e697425323074657374732d70617373696e672d677265656e3f7374796c653d666c617426636f6c6f723d253233346331)](https://camo.githubusercontent.com/0395833017ab75581633c6828b2a15a3e2b8146edfd2fc916b8c4dab59859441/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e697425323074657374732d70617373696e672d677265656e3f7374796c653d666c617426636f6c6f723d253233346331)[![Code Coverage](https://raw.githubusercontent.com/vardumper/IbexaAutomaticMigrationsBundle/refs/heads/main/coverage.svg)](https://raw.githubusercontent.com/vardumper/IbexaAutomaticMigrationsBundle/refs/heads/main/coverage.svg)

This is a bundle for Ibexa DXP. It automatically creates migrations for content types and content type groups. The goal is to eliminate the need to manually create migrations or test them – instead have Ibexa auto-generate them for us whenever content types change. Migrations are created in the default locations (in `src/Migrations/Ibexa/migrations` when using ibexa/migrations or in `src/MigrationsDefinitions` when using kaliop, tanoconsulting, mrk-te open source migration bundle).

Requirements
------------

[](#requirements)

- Ibexa DXP &gt;= v5.0
- Ibexa DXP &gt;= v4.4 (untested)
- A migrations [bundle](https://packagist.org/packages/mrk-te/ibexa-migration-bundle2) if using Ibexa OSS

Features
--------

[](#features)

- Automatically create migrations when changes are made in the admin panel
- Supports Ibexa DXP v5.x Headless, Experience and Commerce editions via `ibexa/migrations`
- Supports Ibexa DXP v5.x. Open Source Edition via `mrk-te/ibexa-migration-bundle2`

Supported Types of Migrations
-----------------------------

[](#supported-types-of-migrations)

- Content Type Group
- Content Type
- Language
- Object State Group
- Object State
- Role
- Section
- URL Wildcards
- URL Manager

Installation
------------

[](#installation)

### With Symfony Flex (recommended)

[](#with-symfony-flex-recommended)

Add the recipe endpoint to your project's `composer.json` once:

```
"extra": {
    "symfony": {
        "endpoint": [
            "https://raw.githubusercontent.com/vardumper/IbexaAutomaticMigrationsBundle/main/flex/",
            "flex://defaults"
        ]
    }
}
```

Then install the bundle:

```
composer require vardumper/ibexa-automatic-migrations-bundle
```

Symfony Flex will automatically:

- Register the bundle in `config/bundles.php`
- Copy a default configuration to `config/packages/ibexa_automatic_migrations.yaml`

### Without Symfony Flex (manual)

[](#without-symfony-flex-manual)

#### 1. Install the bundle

[](#1-install-the-bundle)

```
composer require vardumper/ibexa-automatic-migrations-bundle
```

#### 2. Register the bundle in `config/bundles.php`

[](#2-register-the-bundle-in-configbundlesphp)

Remember that even though the bundle is activated for all environments, migration files are only created when `APP_ENV` is set to `dev`.

```
return [
    // ...
    vardumper\IbexaAutomaticMigrationsBundle\IbexaAutomaticMigrationsBundle::class => ['all' => true],
];
```

#### 3. Create the package configuration

[](#3-create-the-package-configuration)

Create `config/packages/ibexa_automatic_migrations.yaml`:

```
ibexa_automatic_migrations:
    enabled: true
    types:
        content: false
        content_type: true
        content_type_group: true
        section: false
        object_state: false
        object_state_group: false
        user: false
        user_group: false
        role: false
        language: false
        url: false
```

#### 4. Register the backend controller routes

[](#4-register-the-backend-controller-routes)

Create `config/routes/dev/ibexa_automatic_migrations.yaml`:

```
ibexa_automatic_migrations:
    resource: '@IbexaAutomaticMigrationsBundle/src/Controller/'
    type: attribute
```

To configure which migration types are generated, go to Admin &gt; Migrations &gt; Settings.

Testing
-------

[](#testing)

This bundle uses [Pest](https://pestphp.com/) for testing.

### Running Tests

[](#running-tests)

First, install the development dependencies:

```
composer install --dev
```

Then run the tests:

```
./vendor/bin/pest
```

### Coverage Report

[](#coverage-report)

You can also generate a coverage report by running the following command.

```
XDEBUG_MODE=coverage vendor/bin/pest --coverage-html=coverage-report

```

Roadmap
-------

[](#roadmap)

- Allow admins to execute pending migrations in the admin panel
- Support more types of migrations, not only content types are relevant, but Languages, Sections, etc.
- Determine or allow configuring which Migration Bundle one wants to use (if kaliop and ibexa bundles are installed)

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance97

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.8% 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 ~4 days

Total

16

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50c8cdff5461214c7149cd8f1c55473b144ef0c3740a79e2d78eb9f2a1cfa4bc?d=identicon)[vardumper](/maintainers/vardumper)

---

Top Contributors

[![vardumper](https://avatars.githubusercontent.com/u/21208397?v=4)](https://github.com/vardumper "vardumper (86 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

ibexaibexa-bundleibexa-platformibexa-platform-bundle

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/vardumper-ibexa-automatic-migrations-bundle/health.svg)

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

###  Alternatives

[sulu/sulu

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

1.3k1.3M151](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[ibexa/oss

A meta package for installing Ibexa Open Source

19772.4k9](/packages/ibexa-oss)

PHPackages © 2026

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