PHPackages                             bushbaby/bsb-doctrine-translation-loader - 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. bushbaby/bsb-doctrine-translation-loader

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

bushbaby/bsb-doctrine-translation-loader
========================================

BsbDoctrineTranslationLoader is a ZF2 module that provides a doctrine powered translation loader.

v1.1.0(11y ago)29911MITPHPPHP &gt;=5.3.3

Since Oct 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/bushbaby/BsbDoctrineTranslationLoader)[ Packagist](https://packagist.org/packages/bushbaby/bsb-doctrine-translation-loader)[ Docs](https://github.com/bushbaby/BsbDoctrineTranslationLoader)[ RSS](/packages/bushbaby-bsb-doctrine-translation-loader/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (4)Used By (1)

BsbDoctrineTranslationLoader
============================

[](#bsbdoctrinetranslationloader)

BsbDoctrineTranslationLoader is a small ZF2 module that provides a Doctrine based translation loader.

[![Latest Stable Version](https://camo.githubusercontent.com/f69d3b3972bcb35e10295e8416cf8e31d63cc962d519a009b9076f2eff37803b/68747470733a2f2f706f7365722e707567782e6f72672f62757368626162792f6273622d646f637472696e652d7472616e736c6174696f6e2d6c6f616465722f762f737461626c652e737667)](https://packagist.org/packages/bushbaby/bsb-doctrine-translation-loader) [![Total Downloads](https://camo.githubusercontent.com/2efebcf49bbbf2041369ca27a074e0b7fcf6cba6af686e0971cab2f40fe6dac5/68747470733a2f2f706f7365722e707567782e6f72672f62757368626162792f6273622d646f637472696e652d7472616e736c6174696f6e2d6c6f616465722f646f776e6c6f6164732e737667)](https://packagist.org/packages/bushbaby/bsb-doctrine-translation-loader) [![Latest Unstable Version](https://camo.githubusercontent.com/4baa06ee4f910cf5edd8a86019937a4af2566ba1b2b0a7f2fff9e5072bf7731a/68747470733a2f2f706f7365722e707567782e6f72672f62757368626162792f6273622d646f637472696e652d7472616e736c6174696f6e2d6c6f616465722f762f756e737461626c652e737667)](https://packagist.org/packages/bushbaby/bsb-doctrine-translation-loader) [![License](https://camo.githubusercontent.com/fb1457e0278db65132228d1a79d4074105a210403782b0bc82f79d5c08954868/68747470733a2f2f706f7365722e707567782e6f72672f62757368626162792f6273622d646f637472696e652d7472616e736c6174696f6e2d6c6f616465722f6c6963656e73652e737667)](https://packagist.org/packages/bushbaby/bsb-doctrine-translation-loader)

[![Build Status](https://camo.githubusercontent.com/b4488ab54f1bdfef64deafc9e75da73a316b853c2c33dbe8217857571b508b9d/68747470733a2f2f7472617669732d63692e6f72672f62757368626162792f427362446f637472696e655472616e736c6174696f6e4c6f616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bushbaby/BsbDoctrineTranslationLoader)[![Code Coverage](https://camo.githubusercontent.com/c96d446a536139b86f52c45b86f4b9c33644ce1d6163027d01d35377f132d9ea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62757368626162792f427362446f637472696e655472616e736c6174696f6e4c6f616465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bushbaby/BsbDoctrineTranslationLoader/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/537588caf3ba39ee2335d5e34fce2789481f2d8ec10b62ac64d0ece16aadc409/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62757368626162792f427362446f637472696e655472616e736c6174696f6e4c6f616465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bushbaby/BsbDoctrineTranslationLoader/?branch=master)[![Build Status](https://camo.githubusercontent.com/fdf404c21811f626008743c6d33de5feccb367afe62fd7a650c8ff52b67a8939/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62757368626162792f427362446f637472696e655472616e736c6174696f6e4c6f616465722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bushbaby/BsbDoctrineTranslationLoader/build-status/master)[![Dependency Status](https://camo.githubusercontent.com/ec89ccb13a8e27d5fe45e2274e2559a53e503e4bbed446567402a236b727c3e6/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534363463386566346465356566333830613030303030342f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5464c8ef4de5ef380a000004)

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

[](#installation)

```
php composer.phar require "bushbaby/bsb-doctrine-translation-loader:~1.0"
```

Then add `BsbDoctrineTranslationLoader` to the `config/application.config.php` modules list.

Copy the `config/bsb_doctrine_translation_loader.global.php.dist` to the `config/autoload` directory to jump start configuration.

Create the required database tables by importing running;

mysql database &lt; etc/mysql.sql

Requirements
------------

[](#requirements)

- &gt;=PHP5.3
- &gt;=ZF2.2.2

Configuration
-------------

[](#configuration)

To configure the module just copy the bsb\_doctrine\_translation\_loader.global.php.dist (you can find this file in the config folder of BsbDoctrineTranslationLoader) into your config/autoload folder, and override what you want.

To enable the loader for a particular text domain add a remote.

```
return array(
    'translator' => array(
        'remote_translation' => array(
            /* add a remote translation loader for each text domain */
            // array('type' => 'BsbDoctrineTranslationLoader', 'text_domain' => 'default'),
            // array('type' => 'BsbDoctrineTranslationLoader', 'text_domain' => 'other'),
        ),
    ),
);

```

### Change the connection

[](#change-the-connection)

By default BsbDoctrineTranslationLoader will use the orm\_default connection which is configured by DoctrineORMModule. If you need to change the connection, change the 'entity\_manager' key;

```
return array(
    'bsb_doctrine_translation_loader' => array(
        'entity_manager' => 'em_identifier',
    ),
);

```

Note: that is up to you to [configure](https://github.com/doctrine/DoctrineORMModule/blob/master/docs/configuration.md#how-to-use-two-connections) the DoctrineORMModule such that 'em\_identifier' exists as a valid connection.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~393 days

Total

2

Last Release

4198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e42bb1eb4035d280d16210974fa60d0dbddeba8a061abec926e5e081d097231d?d=identicon)[bushbaby](/maintainers/bushbaby)

---

Top Contributors

[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (14 commits)")

---

Tags

i18ntranslationdoctrinemodulezf2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/bushbaby-bsb-doctrine-translation-loader/health.svg)

```
[![Health](https://phpackages.com/badges/bushbaby-bsb-doctrine-translation-loader/health.svg)](https://phpackages.com/packages/bushbaby-bsb-doctrine-translation-loader)
```

###  Alternatives

[hounddog/doctrine-data-fixture-module

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

37335.4k9](/packages/hounddog-doctrine-data-fixture-module)[ao/translation-bundle

Doctrine as symfony translation provider + a nice gui for editing translations.

243.7k](/packages/ao-translation-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
