2017 © Pedro Peláez
 

symfony-bundle doctrine-fixes-bundle

RUVENTS Doctrine Fixes Bundle

image

ruvents/doctrine-fixes-bundle

RUVENTS Doctrine Fixes Bundle

  • Tuesday, November 7, 2017
  • by RUVENTS
  • Repository
  • 5 Watchers
  • 6 Stars
  • 11,675 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 49 % Grown

The README.md

RUVENTS Doctrine Fixes Bundle

Installation

  1. Install the package via composer:, (*1)

    $ composer require ruvents/doctrine-fixes-bundle:~0.1.0
    
  2. Register the bundle:, (*2)

    <?php
    // app/AppKernel.php
    
    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = [
                // ...
                new Ruvents\DoctrineFixesBundle\RuventsDoctrineFixesBundle(),
            ];
        }
    }
    

Configuration

# app/Resources/config.yml

ruvents_doctrine_fixes:
    # connection name
    default:
        # all fixes are disabled by default and can be enabled with null
        schema_namespace_fix: ~

    another_connection:
        # ...

Fixes

Schema namespace fix (doctrine/dbal#1110)

        # ...
        schema_namespace_fix:
            # namespace is null by default
            # $platform->getDefaultSchemaName() is used in this case
            namespace: 'public'

The Versions