magomogo / translator-utils
PHP Utils for localization with Magomogo/Translator application
6.0
2026-05-08 09:19 UTC
Requires
- php: ^8.0
- ext-intl: *
Requires (Dev)
- doctrine/couchdb: @dev
- eloquent/composer-npm-bridge: ^5.0
- mikey179/vfsstream: ^1.0
- mockery/mockery: ^1.6
- phpunit/phpunit: ^9.6
Suggests
- doctrine/couchdb: Required when CouchDb translations storage is used
This package is auto-updated.
Last update: 2026-05-08 09:20:51 UTC
README
About
Utils for localization with Translator application: parsing out the i18n keys from phtml
templates, AngularJS partials, and json data; with the subsequent storage in CouchDB.
Requirements
- php5-intl
- Nodejs package manager (npm) in PATH
- CouchDB 1.2+
CouchDb schema is developed separately as npm package translator-couch
Testing
To execute Unit tests run:
./tests/run.sh --testsuite Unit
Integration tests are depends on the database server couchdb and the package manager npm.
They can be started this way:
./tests/run.sh --testsuite Integration