sergiors / doctrine-migrations-service-provider
Doctrine Migrations for Pimple
1.0.0
2017-12-12 20:21 UTC
Requires
- php: >=5.5
- doctrine/migrations: ~1.1
- pimple/pimple: ^3.0
Requires (Dev)
- pdepend/pdepend: ^2.2
- phing/phing: ^2.13
- phploc/phploc: ^4
- phpmd/phpmd: ^2.3
- phpunit/phpunit: ^6
- sebastian/phpcpd: ^2.0
- silex/silex: ^2
- squizlabs/php_codesniffer: ^2.4
This package is not auto-updated.
Last update: 2024-11-09 19:19:19 UTC
README
Install
composer require sergiors/doctrine-migrations-service-provider
use Silex\Provider\DoctrineServiceProvider; use Sergiors\Pimple\Provider\DoctrineMigrationsServiceProvider; $container = new \Pimple\Container(); $container['console'] = function () { return new \Symfony\Component\Console\Application(); }; $container->register(new DoctrineServiceProvider()); $container->register(new DoctrineMigrationsServiceProvider()); $container['console']->run();
License
MIT