An open API service indexing awesome lists of open source software.

https://github.com/crazyfactory/php-translations

Classes for the TranslatorApp
https://github.com/crazyfactory/php-translations

Last synced: 9 months ago
JSON representation

Classes for the TranslatorApp

Awesome Lists containing this project

README

          

# php-translations
##Classes for the TranslatorApp
- ```TranslationManagerBase```: Handles all translations stored in the database. retrieves their values
- ```TranslationCacheBase```: Retrieves translation by id or key, can preload scopes. scopes are retrieved from a generated php-file.
- ```TranslationValidator```: Verify value before insert or update in database.
## Running tests
This packages use Codeception testing framework (http://codeception.com/). To run tests:
- get dependencies ready:
```composer install```
- run ALL tests:
```php /vendor/codeception/codeception/codecept run```