Download the PHP package tobento/app-migration without Composer
On this page you can find all versions of the php package tobento/app-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tobento/app-migration
More information about tobento/app-migration
Files in tobento/app-migration
Package app-migration
Short Description App migration support.
License MIT
Homepage https://www.tobento.ch
Informations about the package app-migration
App Migration
App migration support.
Table of Contents
- Getting Started
- Requirements
- Documentation
- App
- Migration Boot
- Install and Uninstall Migration
- Create Migration
- Console
- Migration List Command
- Migration Install Command
- Migration Uninstall Command
- Credits
Getting Started
Add the latest version of the app migration project running this command.
Requirements
- PHP 8.0 or greater
Documentation
App
Check out the App Skeleton if you are using the skeleton.
You may also check out the App to learn more about the app in general.
Migration Boot
The migration boot does the following:
- definition of \Tobento\Service\Migration\MigratorInterface::class
- definition of \Tobento\Service\Migration\MigrationResultsInterface::class
- installs and loads migration config file
- adds install and uninstall app macros
Install and Uninstall Migration
Once the Migration Boot has been booted you may install migrations by the following ways:
Create Migration
Check out the Migration Service to learn more about creating migration classes.
Console
If you have installed the App Console you may run the following commands.
Migration List Command
The command provides an overview of all the migrations installed:
Migration Install Command
Install a migration by its class:
Reinstalls all migrations:
Reinstalls specific migration(s) or/and action(s) by its ids. To get the ids, run command:
Reinstalls specific migration(s) or/and action(s) by its type.
Migration Uninstall Command
Uninstall a migration by its class:
Uninstalls all migrations:
Uninstalls specific migration(s) by its ids. To get the ids, run command:
Credits
- Tobias Strub
- All Contributors
All versions of app-migration with dependencies
psr/container Version ^2.0
tobento/app Version ^1.0
tobento/service-migration Version ^1.0
tobento/service-config Version ^1.0
tobento/service-dir Version ^1.0