kmergen/doctrine-translatable

Doctrine Translatable Bundle

v2.0.0 2024-02-08 15:52 UTC

This package is auto-updated.

Last update: 2024-04-11 09:18:53 UTC


README

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 bundle.

It currently handles:

Install

composer require kmergen/doctrine-translatable

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 bundle.

Credits

This bundle is highly inspired by the excellent work of Knplaps on its bundle:

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.