Download the PHP package sympress/migration without Composer

On this page you can find all versions of the php package sympress/migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package migration

Database Migration System

Checks Release PHP Downloads

Standalone WordPress MU-plugin for versioned database migrations with Doctrine-style runtime and metadata management.

Requirements

The package now targets a real PHP 8.5 baseline and uses modern language features that are stable in the current runtime and QA toolchain, including typed class constants, read-only get-hook properties, readonly classes, #[\Override], and selective #[\NoDiscard].

Quality Gates

Installation

  1. Place the package in wp-content/mu-plugins/database-migration-system/.
  2. Run composer install inside the package directory.
  3. Add a root MU loader file because WordPress does not autoload subdirectories.

A ready-to-copy loader example lives in docs/example/mu-loader.php.

Registering Migrations

Use MigrationSystem::getInstance()->createMigrationManager('orders-plugin') when you want to run migrations from an activation hook, deploy hook, admin workflow, or custom release pipeline.

When the project boots SymPress\Kernel\App, the MU plugin also registers its CoreProvider and CliProvider through kernel.

Metadata Storage

The plugin keeps two tables, both shared across all registered plugins:

The history table stores:

Directions are persisted as:

This gives you a persistent history for:

sync-metadata-storage creates both tables. Auto-cleanup only removes them when explicitly enabled and when both current state and history are empty.

See docs/architecture.md for the ordered lifecycle, state/history model, failure boundary, and SQL executor contract.

SQL Execution Rules

This keeps schema creation WordPress-safe while still allowing explicit ALTER TABLE, UPDATE, DELETE, INSERT, DROP, or cleanup statements.

Doctrine-Style Runtime Features

The package focuses on the operational parts that matter in production, similar to Doctrine Migrations:

Migration targets can be addressed by:

WP-CLI

Runtime Commands

Inspection Commands

Metadata Command

Programmatic Usage

Development

License

This package is licensed under GPL-2.0-or-later.


All versions of migration with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
sympress/kernel Version dev-main
symfony/console Version ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sympress/migration contains the following files

Loading the files please wait ...