amyboyd / mongrate-bundle
Symfony bundle for Mongrate
Installs: 8 332
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 2
Open Issues: 1
Requires
- amyboyd/mongrate: ~1.7.0
Requires (Dev)
- phpunit/phpunit: ^4.6
- symfony/dependency-injection: >=2.4.0
- symfony/framework-bundle: >=2.4.0
- symfony/http-kernel: >=2.4.0
README
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