2017 © Pedro Peláez
 

library doctrinemigrationwebbundle

Symfony Bundle to run Doctrine Migrations migrate from the web (if cli is not an option for your webhost)

image

markei/doctrinemigrationwebbundle

Symfony Bundle to run Doctrine Migrations migrate from the web (if cli is not an option for your webhost)

  • Monday, March 7, 2016
  • by markei
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

README

About this bundle

This bundle provides the Doctrine Migrations migrate command in a controller/web setting., (*1)

Installation

1 Add to composer.json to the require key, (*2)

``` shell $composer require markei/doctrinemigrationwebbundle, (*3)


**2** Register the bundle in ``app/AppKernel.php`` ``` php $bundles = array( // ... new Markei\DoctrineMigrationWebBundle\MarkeiDoctrineMigrationWebBundle(), );

3 Configure your routing app/config/routing.php, change the prefix in something you like, (*4)

yaml markei_doctrine_migration_web: resource: "@MarkeiDoctrineMigrationWebBundle/Controller/" type: annotation prefix: /migration, (*5)

4 Configure security for the prefix you have defined http://symfony.com/doc/current/book/security.html, (*6)

5 Configure Doctrine Migrations http://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html, (*7)

6 Visit the page http://my-site/migration and follow the instructions, (*8)

Configuration

Configure the prefix via app/config/routing.yml, (*9)

Configure the common Doctrine Migrations settings via app/config/config.yml, (*10)

Configure database connections via the doctrine section in app/config/config.yml, (*11)

Configure security via app/config/security.yml, (*12)

The Versions

07/03 2016

dev-master

9999999-dev

Symfony Bundle to run Doctrine Migrations migrate from the web (if cli is not an option for your webhost)

  Sources   Download

MIT

The Requires

 

07/03 2016

v1.0.0

1.0.0.0

Symfony Bundle to run Doctrine Migrations migrate from the web (if cli is not an option for your webhost)

  Sources   Download

MIT

The Requires