umanit/phinx-bundle

umanit phinx bundle

Installs: 2 886

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 8

Forks: 7

Open Issues: 0

Type:symfony-bundle

v1.1 2019-11-08 22:03 UTC

README

Composer

The fastest way to install Phinx bundle is to add it to your project using Composer (http://getcomposer.org/).

  1. Install Composer:

    curl -sS https://getcomposer.org/installer | php
    
  2. Require Phinx bundle as a dependency using Composer:

    php composer.phar require umanit/phinx-bundle
    
  3. Install bundle:

    php composer.phar install
    
  4. Add bundle to config/bundles.php

    return [
        // [...]
        Umanit\PhinxBundle\UmanitPhinxBundle::class => ['all' => true],
    ];
  5. Add bundle config to config/packages/umanit_phinx.yml

    Example:

    umanit_phinx:
        environment:
            connection:
                dsn: 'mysql://db_user:db_password@127.0.0.1:3306/db_name'

    See DependencyInjection/Configuration.php for full list of available options.