amyboyd/mongrate-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.7.1) of this package.

Symfony bundle for Mongrate

1.7.1 2016-06-27 18:21 UTC

README

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