PHPackages                             kmergen/doctrine-translatable - 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. kmergen/doctrine-translatable

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

kmergen/doctrine-translatable
=============================

Doctrine Translatable Bundle

v2.0.0(2y ago)017MITPHPPHP &gt;=8.1

Since Feb 8Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/kmergen/DoctrineTranslatable)[ Packagist](https://packagist.org/packages/kmergen/doctrine-translatable)[ RSS](/packages/kmergen-doctrine-translatable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (27)Versions (4)Used By (0)

Doctrine Translatable for Symfony
=================================

[](#doctrine-translatable-for-symfony)

This symfony bundle provides a behavior to translate Doctrine entities in Symfony. This bundle is compatible with Symfony versions equal or greater Symfony 7.0.

For other Symfony versions you should consider to use the [DoctrineBehaviors](https://github.com/KnpLabs/DoctrineBehaviors) bundle.

It currently handles:

- [Translatable](/docs/translatable.md)

Install
-------

[](#install)

```
composer require kmergen/doctrine-translatable
```

Usage
-----

[](#usage)

All you have to do is to define a Doctrine entity:

- implemented interface
- add a trait

For further informations how to use it, you can also look the documentation of [DoctrineBehaviors](https://github.com/KnpLabs/DoctrineBehaviors) bundle.

Credits
-------

[](#credits)

This bundle is highly inspired by the excellent work of [Knplaps](https://github.com/KnpLabs) on its bundle:

- [DoctrineBehaviors](https://github.com/KnpLabs/DoctrineBehaviors)

In fact, we have used some of its processes, commands, views, and some of its attribute names to somehow standardize the bundle and make it easier for us to build our own bundle for Symfony.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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 ~0 days

Total

3

Last Release

822d ago

Major Versions

v0.1.0 → v1.0.02024-02-08

v1.0.0 → v2.0.02024-02-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/1abad4359cfb0942018dcd3e28802c279d72ec3fa80148c4aad6eb2b76bb602c?d=identicon)[kmergen](/maintainers/kmergen)

---

Top Contributors

[![kmergen](https://avatars.githubusercontent.com/u/1640101?v=4)](https://github.com/kmergen "kmergen (22 commits)")

---

Tags

doctrinebehaviorstranslatable

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kmergen-doctrine-translatable/health.svg)

```
[![Health](https://phpackages.com/badges/kmergen-doctrine-translatable/health.svg)](https://phpackages.com/packages/kmergen-doctrine-translatable)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[knplabs/doctrine-behaviors

Doctrine Behavior Traits

92212.7M64](/packages/knplabs-doctrine-behaviors)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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