Download the PHP package trekksoft/potomoco without Composer
On this page you can find all versions of the php package trekksoft/potomoco. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download trekksoft/potomoco
More information about trekksoft/potomoco
Files in trekksoft/potomoco
Download trekksoft/potomoco
More information about trekksoft/potomoco
Files in trekksoft/potomoco
Vendor trekksoft
Package potomoco
Short Description Simple gettext compiler (.po to .mo)
License MIT
Homepage https://github.com/bigwhoop/potomoco
Package potomoco
Short Description Simple gettext compiler (.po to .mo)
License MIT
Homepage https://github.com/bigwhoop/potomoco
Keywords gettext
Please rate this library. Is it a good library?
Informations about the package potomoco
potomoco (.po to .mo compiler)
potomoco is a gettext msgfmt implementation in PHP. It compiles .po files to binary .mo files.
Requirements
- PHP 5.3+
- PSR-0 autoloading
Use
<?php
use TrekkSoft\Potomoco\Compiler;
$compiler = new Compiler();
// Generates '/path/to/your/file.mo'
$compiler->compile('/path/to/your/file.po');
// Generates '/path/to/other/compiled.mo'
$compiler->compile('/path/to/your/file.po', '/path/to/other/compiled.mo');
You can also use your own parser (default parser is TrekkSoft\Potomoco\Parser
).
$compiler->setParser(new YourParser());
Custom parsers need to implement the TrekkSoft\Potomoco\ParserInterface
and return an
array with TrekkSoft\Potomoco\Message
objects.
All versions of potomoco with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package trekksoft/potomoco contains the following files
Loading the files please wait ....