Download the PHP package paysera/lib-gedmo-translatable-integration-bundle without Composer
On this page you can find all versions of the php package paysera/lib-gedmo-translatable-integration-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paysera/lib-gedmo-translatable-integration-bundle
More information about paysera/lib-gedmo-translatable-integration-bundle
Files in paysera/lib-gedmo-translatable-integration-bundle
Package lib-gedmo-translatable-integration-bundle
Short Description This library provides means to easily integrate Gedmo Translatable doctrine extension into your project.
License
Informations about the package lib-gedmo-translatable-integration-bundle
lib-gedmo-translatable-integration-bundle
This library provides means to easily integrate Gedmo Translatable doctrine extension into your project.
Why?
Managing entities translations sometimes can become an overhead, that adds unnecessary cognitive-load for developers. This library helps you by loading all translations and translating the entity automatically, without the necessity to do it manually.
Installation
Append new Paysera\Bundle\GedmoTranslatableIntegrationBundle\PayseraGedmoTranslatableIntegrationBundle()
to your project
Symfony kernel bundles.
Append config.yml
:
default_locale
- this is your application default locale.
Usage
Define translatable entities
Complete Doctrine ORM configuration for the translatable properties for Gedmo Translatable to work following the official documentation.
Translating entity or reading translations
With bundle:
Without bundle:
Modifying queries to join the translations table
In cases, where you might want to join the translations table to select for translations as well, you can use the
\Paysera\Bundle\GedmoTranslatableIntegrationBundle\Service\QueryBuilderTranslationSearchModifier
.
All versions of lib-gedmo-translatable-integration-bundle with dependencies
doctrine/orm Version ^2.0
symfony/config Version ^3.0 || ^4.0
symfony/dependency-injection Version ^3.0 || ^4.0
symfony/validator Version ^3.0 || ^4.0
symfony/security-core Version ^3.0 || ^4.0
symfony/routing Version ^3.0 || ^4.0
symfony/http-kernel Version ^3.0 || ^4.0
gedmo/doctrine-extensions Version ^2.0
stof/doctrine-extensions-bundle Version ^1.2.2