Symfony bundle for Mongrate
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
resources
src/Mongrate/MongrateBundle
test-app
.editorconfig
.gitignore
.scrutinizer.yml
.travis.php.ini
.travis.yml
LICENSE
README.md
composer.json
composer.phar
phpunit.xml.dist

README.md

Build Status Code Coverage

Mongrate Bundle

A Symfony bundle for Mongrate.

Installation and Use

Please see the documentation on mongrate.com.

Contributing

Please submit pull requests on GitHub:

Install PHP-CS-Fixer:

sudo curl http://get.sensiolabs.org/php-cs-fixer.phar -o /usr/local/bin/php-cs-fixer

Install the Git pre-commit hook:

ln -s ../../resources/pre-commit .git/hooks/pre-commit
chmod a+x .git/hooks/pre-commit

To run the tests:

bin/test

Test apps for different Symfony versions

In the test-app directory, there is an app with several composer.json files, one per Symfony version (currently 2.5, 2.8, 3.0 and 3.1). To install the test-app dependencies, run test-app/bin/composer-install. You can then test Mongrate bundle commands like this:

SYMFONY_VERSION=3.1 test-app/bin/run-command mongrate:list-migrations
SYMFONY_VERSION=2.5 test-app/bin/run-command mongrate:up-all