Download the PHP package cleentfaar/doctrine-table-prefix-bundle without Composer
On this page you can find all versions of the php package cleentfaar/doctrine-table-prefix-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleentfaar/doctrine-table-prefix-bundle
More information about cleentfaar/doctrine-table-prefix-bundle
Files in cleentfaar/doctrine-table-prefix-bundle
Package doctrine-table-prefix-bundle
Short Description This bundle allows doctrine to recognize any prefix you might use on your table names (e.g. acme_)
License MIT
Informations about the package doctrine-table-prefix-bundle
CleentfaarDoctrineTablePrefixBundle
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.
Installation
1) Install the bundle using composer
Add CleentfaarDoctrineTablePrefixBundle in your composer.json:
Now tell composer to download the bundle by running the command:
Composer will install the bundle to your project's vendor/cleentfaar
directory.
2) Enable the bundle
Enable the bundle in the kernel:
Default prefix is "sf_".
You can change the prefix in your configuration:
All versions of doctrine-table-prefix-bundle with dependencies
symfony/framework-bundle Version ~2.4
symfony/yaml Version ~2.3
doctrine/orm Version ~2.2,>=2.2.3
doctrine/doctrine-bundle Version ~1.2