sergiors/doctrine-migrations-service-provider

Doctrine Migrations for Pimple

1.0.0 2017-12-12 20:21 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:19:19 UTC


README

Build Status

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