melisplatform/melis-dbdeploy

Melis Platform Database deployment module

Maintainers

Package info

github.com/melisplatform/melis-dbdeploy

Documentation

Type:melisplatform-module

pkg:composer/melisplatform/melis-dbdeploy

Transparency log

Statistics

Installs: 6 178

Dependents: 3

Suggesters: 0

Stars: 1

Open Issues: 0

v6.0.3 2026-08-19 08:26 UTC

README

MelisDbDeploy is the database-migration runner of the Melis Platform. When a module is installed or updated, it finds that module's SQL deltas (install/dbdeploy/*.sql), applies the ones not yet run, and records what has been applied — so the database schema always stays in sync with the installed code.

Getting Started

Prerequisites

A module opts in to MelisDbDeploy by declaring "extra": { "dbdeploy": true } in its composer.json and providing its migration scripts under install/dbdeploy/*.sql.

Installing

Run the composer command:

composer require melisplatform/melis-dbdeploy

Running the code

MelisDbDeploy runs automatically during module install/update flows (driven by MelisCore and the platform installer). It is a low-level, standalone tool - it depends only on phing/phing, not on melis-core.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details