Download the PHP package imt/doctrine-migrations-multi without Composer
On this page you can find all versions of the php package imt/doctrine-migrations-multi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imt/doctrine-migrations-multi
More information about imt/doctrine-migrations-multi
Files in imt/doctrine-migrations-multi
Package doctrine-migrations-multi
Short Description This repository provides a simple script that adds the ability to use Doctrine Migrations with more than one (multiple) connection (database).
License MIT
Homepage http://github.com/IgorTimoshenko/doctrine-migrations-multi
Informations about the package doctrine-migrations-multi
doctrine-migrations-multi
Overview
This repository provides a simple script that adds the ability to use Doctrine Migrations with more than one (multiple) connection (database).
Installation
1. Using Composer (recommended)
To install doctrine-migrations-multi
with Composer just add the
following to your composer.json
file:
Then, you can install the new dependencies by running Composer's update command
from the directory where your composer.json
file is located:
Now, Composer will automatically download all required files, and install them for you.
Usage
To start using doctrine-migrations-multi
create the
migrations-db-multi.php
file that returns an array of connections:
migrations-db-multi-example.php
Then, run doctrine-migrations-multi
with needed command (for instance with migrations:migrate
):
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
License
This library is released under the MIT license. See the complete license in the
LICENSE
file that is distributed with this source code.
All versions of doctrine-migrations-multi with dependencies
doctrine/migrations Version ~1.0
symfony/event-dispatcher Version ~2.3