PHPackages                             th3mouk/doctrine-table-prefix-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. th3mouk/doctrine-table-prefix-bundle

AbandonedSymfony-bundle[Database &amp; ORM](/categories/database)

th3mouk/doctrine-table-prefix-bundle
====================================

Bundle for Symfony2 and Doctrine2 that allow prefixing yours databases tables.

1.0.1(12y ago)17591MITPHPPHP &gt;=5.3.3

Since Jun 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Th3Mouk/DoctrineTablePrefixBundle)[ Packagist](https://packagist.org/packages/th3mouk/doctrine-table-prefix-bundle)[ RSS](/packages/th3mouk-doctrine-table-prefix-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (3)Used By (0)

DoctrineTablePrefixBundle
=========================

[](#doctrinetableprefixbundle)

Bundle for Symfony2 and Doctrine2 that allow prefixing yours databases tables.

[![SensioLabsInsight](https://camo.githubusercontent.com/333ad4ca66330f564b75ac6db706467554f66d70f8913b1dfd5cc8ad02ffc63e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30316263343063652d386533372d346538612d383033362d3139366464333565666334332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/01bc40ce-8e37-4e8a-8036-196dd35efc43) [![Latest Stable Version](https://camo.githubusercontent.com/bde0c6cd4c9ccf3aa483eb17f7e4a29dd9a35a67609402f362550984b59cbdc6/68747470733a2f2f706f7365722e707567782e6f72672f7468336d6f756b2f646f637472696e652d7461626c652d7072656669782d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/th3mouk/doctrine-table-prefix-bundle) [![Total Downloads](https://camo.githubusercontent.com/dc2d089b7e0ccdc6245e09e991853477b857929b6bc7e579ad569943c3aa2fa1/68747470733a2f2f706f7365722e707567782e6f72672f7468336d6f756b2f646f637472696e652d7461626c652d7072656669782d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/th3mouk/doctrine-table-prefix-bundle) [![Build Status](https://camo.githubusercontent.com/24fa3806d6d5a2259cbf83579b1a6c0ce469db320f0248c1e73884dd3e943c5e/68747470733a2f2f7472617669732d63692e6f72672f5468334d6f756b2f446f637472696e655461626c6550726566697842756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Th3Mouk/DoctrineTablePrefixBundle) [![Latest Unstable Version](https://camo.githubusercontent.com/a04b492e3c343b61df70abb92d18e484a3bf7ece546a67c13305e3bbbabf74bd/68747470733a2f2f706f7365722e707567782e6f72672f7468336d6f756b2f646f637472696e652d7461626c652d7072656669782d62756e646c652f762f756e737461626c652e737667)](https://packagist.org/packages/th3mouk/doctrine-table-prefix-bundle) [![License](https://camo.githubusercontent.com/90995c99665b2d86a6c6d0455d8608fcbe3bbc1939b51fd4c24bb022bbd01e24/68747470733a2f2f706f7365722e707567782e6f72672f7468336d6f756b2f646f637472696e652d7461626c652d7072656669782d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/th3mouk/doctrine-table-prefix-bundle)

Installation
------------

[](#installation)

### First: Download DoctrineTablePrefixBundle using composer

[](#first-download-doctrinetableprefixbundle-using-composer)

Using command line

```
composer require th3mouk/doctrine-table-prefix-bundle
```

Or editing `composer.json` :

```
{
    "require": {
        "th3mouk/doctrine-table-prefix-bundle": "^1.0"
    }
}
```

### Second : Enable the bundle

[](#second--enable-the-bundle)

Enable the bundle in the kernel:

```
