chellem / doctine-prefixr-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Symfony DoctrinePrefixrBundle
Package info
github.com/labzone/DoctrinePrefixrBundle
Type:symfony-bundle
pkg:composer/chellem/doctine-prefixr-bundle
v1.0
2015-08-12 11:39 UTC
Requires
- php: >=5.3.2
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3
- symfony/framework-bundle: ~2.2
This package is auto-updated.
Last update: 2024-06-19 02:23:24 UTC
README
DoctrinePrefixrBundle
What is does ?
This bundle add "prefix" to table, configured from the Bundle the entities is found.
For example, entities in AcmeDemo can have the prefix acme_demo and AcmeLogin might have acme_login
Installation
using Composer:
{
"require": {
"chellem/doctine-prefixr-bundle": "dev-master"
}
}
CONFIGURATION
Register the bundle:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new DoctrinePrefixr\Bundle\DoctrinePrefixrBundle\DoctrinePrefixrBundle(), ); // ... }
Configuration in your config.yml:
# app/config/config.yml doctrine_prefixr: prefixes: # no need to add 'Bundle' to the Bundle name AcmeDemo: acme_demo AcmeLogin: acme_login MyCustom: my_custom