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-12-21 20:13:55 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