2017 © Pedro Peláez
 

symfony-bundle doctrine-table-prefix-bundle

This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_)

image

cleentfaar/doctrine-table-prefix-bundle

This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_)

  • Thursday, December 12, 2013
  • by cleentfaar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 705 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CleentfaarDoctrineTablePrefixBundle

Latest Stable Version Scrutinizer Quality Score Code Coverage Build Status Total Downloads, (*1)

What is it?

This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_). It is an updated and revisioned version of the original bundle by GrifiS, which had a lot of compatibility issues and missed some key things that I needed for my own projects., (*2)

Installation

1) Install the bundle using composer

Add CleentfaarDoctrineTablePrefixBundle in your composer.json:, (*3)

``` js { "require": { "cleentfaar/doctrine-table-prefix-bundle": "*" } }, (*4)


Now tell composer to download the bundle by running the command: ``` bash $ php composer.phar update cleentfaar/doctrine-table-prefix-bundle

Composer will install the bundle to your project's vendor/cleentfaar directory., (*5)

2) Enable the bundle

Enable the bundle in the kernel:, (*6)

``` php <?php // app/AppKernel.php, (*7)

public function registerBundles() { $bundles = array( // ... new Cleentfaar\Bundle\DoctrineTablePrefixBundle\CleentfaarDoctrineTablePrefixBundle(), ); }, (*8)


Default prefix is "sf_". You can change the prefix in your configuration: ``` yaml # app/config/config.yml cleentfaar_doctrine_table_prefix: prefix: sf_

The Versions

12/12 2013

dev-master

9999999-dev

This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_)

  Sources   Download

MIT

The Requires

 

doctrine symfony

06/12 2013

1.0.0

1.0.0.0

This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_)

  Sources   Download

MIT

The Requires

 

doctrine symfony