Download the PHP package bushbaby/bsb-doctrine-translation-loader without Composer
On this page you can find all versions of the php package bushbaby/bsb-doctrine-translation-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bushbaby/bsb-doctrine-translation-loader
More information about bushbaby/bsb-doctrine-translation-loader
Files in bushbaby/bsb-doctrine-translation-loader
Package bsb-doctrine-translation-loader
Short Description BsbDoctrineTranslationLoader is a ZF2 module that provides a doctrine powered translation loader.
License MIT
Homepage https://github.com/bushbaby/BsbDoctrineTranslationLoader
Informations about the package bsb-doctrine-translation-loader
BsbDoctrineTranslationLoader
BsbDoctrineTranslationLoader is a small ZF2 module that provides a Doctrine based translation loader.
Installation
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 < etc/mysql.sql
Requirements
- >=PHP5.3
- >=ZF2.2.2
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.
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;
Note: that is up to you to configure the DoctrineORMModule such that 'em_identifier' exists as a valid connection.
All versions of bsb-doctrine-translation-loader with dependencies
zendframework/zendframework Version >=2.2.2
doctrine/doctrine-orm-module Version >=0.7