Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.86 KB

File metadata and controls

42 lines (29 loc) · 1.86 KB

Adapter for Doctrine

Latest Version Build Status Code Coverage Quality Score Total Downloads

This is an PHP-translation adapter for Doctrine (https://www.doctrine-project.org/).

Install

composer require hmonglee/php-translation-doctrine-storage
Symfony bundle

If you want to use the Symfony bundle you may activate it in kernel:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Translation\PlatformAdapter\Loco\Bridge\Symfony\TranslationAdapterDoctrineBundle(),
    );
}

This will produce a service named php_translation.adapter.doctrine that could be used in the configuration for the Translation Bundle.

Documentation

Read our documentation at http://php-translation.readthedocs.io.

Contribute

Do you want to make a change? Pull requests are welcome.