PHPackages                             cleentfaar/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. cleentfaar/doctrine-table-prefix-bundle

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

cleentfaar/doctrine-table-prefix-bundle
=======================================

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

1.0.0(12y ago)07291MITPHPPHP &gt;=5.3.3

Since Dec 5Pushed 12y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (2)Used By (0)

CleentfaarDoctrineTablePrefixBundle
===================================

[](#cleentfaardoctrinetableprefixbundle)

[![Latest Stable Version](https://camo.githubusercontent.com/c39eadd8a967ea1ff51da36ff5ed749e07ebab04832b136d2fd2f6e5fffc9d66/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f646f637472696e652d7461626c652d7072656669782d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/cleentfaar/doctrine-table-prefix-bundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/af79b490f4c9fa826795c660d2ba1e27bf9a90457595088dfead10ef1baf989a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65656e74666161722f436c65656e7466616172446f637472696e655461626c6550726566697842756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d39626632383363313134313331333362643239313239653231666432353632353463333462333962)](https://scrutinizer-ci.com/g/cleentfaar/CleentfaarDoctrineTablePrefixBundle/)[![Code Coverage](https://camo.githubusercontent.com/d7df891d16457c9d3ae8f998b61df4e835bbe5b463fbbe4f615235e1a719221a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636c65656e74666161722f436c65656e7466616172446f637472696e655461626c6550726566697842756e646c652f6261646765732f636f7665726167652e706e673f733d37376136323337383330353436346533636563666330323637623562646239636538616630363337)](https://scrutinizer-ci.com/g/cleentfaar/CleentfaarDoctrineTablePrefixBundle/)[![Build Status](https://camo.githubusercontent.com/96abe8ac276a8677fc44381aa55fff12f3e085c4aec83c2a98de24067deb889f/68747470733a2f2f7472617669732d63692e6f72672f636c65656e74666161722f436c65656e7466616172446f637472696e655461626c6550726566697842756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/cleentfaar/CleentfaarDoctrineTablePrefixBundle)[![Total Downloads](https://camo.githubusercontent.com/2735e1193a6685346f5948cc89737e66c973d5bd88ecd8f57e0682f4c2a31f02/68747470733a2f2f706f7365722e707567782e6f72672f636c65656e74666161722f646f637472696e652d7461626c652d7072656669782d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/cleentfaar/doctrine-table-prefix-bundle)

What is it?
-----------

[](#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
------------

[](#installation)

### 1) Install the bundle using composer

[](#1-install-the-bundle-using-composer)

Add CleentfaarDoctrineTablePrefixBundle in your composer.json:

```
{
    "require": {
        "cleentfaar/doctrine-table-prefix-bundle": "*"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update cleentfaar/doctrine-table-prefix-bundle
```

Composer will install the bundle to your project's `vendor/cleentfaar` directory.

### 2) Enable the bundle

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

Enable the bundle in the kernel:

```
