2017 © Pedro Peláez
 

library silex-doctrine-migrations-provider

A doctrine migrations provider for silex

image

rodrigonull/silex-doctrine-migrations-provider

A doctrine migrations provider for silex

  • Friday, November 4, 2016
  • by rodrigonull
  • Repository
  • 1 Watchers
  • 0 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

silex-doctrine-migrations-provider

A doctrine migrations provider for Silex., (*1)

Installation

Add the dependency to the require in your composer.json., (*2)

{
    "require": {
        "doctrine/migrations": "1.0.*@dev",
        "kurl/silex-doctrine-migrations-provider": "~0.1"
    }
}

Usage

Add the provider with your config..., (*3)

<?php

$console = new \Symfony\Component\Console\Application();

$app->register(
    new \Kurl\Silex\Provider\DoctrineMigrationsProvider($console), 
    array(
        'migrations.directory'  => __DIR__ . '/../path/to/migrations',
        'migrations.name'       => 'Acme Migrations',
        'migrations.namespace'  => 'Acme\Migrations',
        'migrations.table_name' => 'acme_migrations',
    )
);

$app->boot();
$console->run();

Code coverage reports

$ bin/phpunit --coverage-html build/coverage --coverage-clover build/logs/clover.xml --log-junit build/logs/phpunit.xml

That was it!

The Versions

04/11 2016

dev-develop

dev-develop

A doctrine migrations provider for silex

  Sources   Download

MIT

The Requires

 

The Development Requires

04/01 2016

dev-master

9999999-dev

A doctrine migrations provider for silex

  Sources   Download

MIT

The Requires

  • php ^5.5|^7

 

The Development Requires

04/01 2016

0.2.0

0.2.0.0

A doctrine migrations provider for silex

  Sources   Download

MIT

The Requires

  • php ^5.5|^7

 

The Development Requires

22/12 2014

0.1.1

0.1.1.0

A doctrine migrations provider for silex

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

15/12 2014

0.1.0

0.1.0.0

A doctrine migrations provider for silex

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires