PHPackages                             maxakawizard/mo-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. maxakawizard/mo-reader

ActiveLibrary[Localization &amp; i18n](/categories/localization)

maxakawizard/mo-reader
======================

Gettext \*.mo reader for PHP

0.3.1(7y ago)43.3k2[1 PRs](https://github.com/MAXakaWIZARD/MoReader/pulls)MITPHPPHP &gt;=5.3.0

Since Jan 14Pushed 3y ago2 watchersCompare

[ Source](https://github.com/MAXakaWIZARD/MoReader)[ Packagist](https://packagist.org/packages/maxakawizard/mo-reader)[ Docs](http://github.com/MAXakaWIZARD/MoReader)[ RSS](/packages/maxakawizard-mo-reader/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

MoReader
========

[](#moreader)

[![Build Status](https://camo.githubusercontent.com/a470000b0d1fd9dd357c3e7f3e604aa6fb817ac781ad2b2e37359b656aef9415/68747470733a2f2f6170692e7472617669732d63692e6f72672f4d4158616b6157495a4152442f4d6f5265616465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/MAXakaWIZARD/MoReader)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a5c23142a01f546047540cb7cd83d6aa1f04da7b70facbc45053734b625c9f4e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d4158616b6157495a4152442f4d6f5265616465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/MAXakaWIZARD/MoReader/?branch=master)[![Code Climate](https://camo.githubusercontent.com/ddb632101996ffd27407c1cfc6e13dc6bc603847b381230c99fb766a432ffcaa/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4d4158616b6157495a4152442f4d6f5265616465722f6261646765732f6770612e737667)](https://codeclimate.com/github/MAXakaWIZARD/MoReader)[![Coverage Status](https://camo.githubusercontent.com/0d2584f3669c11d4d39e47609d1b1993d82a87cf1d4ad2a14c2618b0260cbdaa/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4d4158616b6157495a4152442f4d6f5265616465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/MAXakaWIZARD/MoReader?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/2840fdc1be4fcbfca24fbcc6121f142203a6fe7109092d1556d0569cedf1c271/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f30653333663536342d666164342d346638392d383037382d3863396430373732623063342e737667)](https://insight.sensiolabs.com/projects/0e33f564-fad4-4f89-8078-8c9d0772b0c4)

[![GitHub tag](https://camo.githubusercontent.com/5a2119c91f755ddbf55596626ff180d59c4a091766429cf24202064c23af1e27/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f4d4158616b6157495a4152442f4d6f5265616465722e7376673f6c6162656c3d6c6174657374)](https://packagist.org/packages/maxakawizard/mo-reader)[![Packagist](https://camo.githubusercontent.com/acb7820354bd20e53680a9d5c66feb30c5d9ad76f6bb0721d47a9073d51e5f10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6178616b6177697a6172642f6d6f2d7265616465722e737667)](https://packagist.org/packages/maxakawizard/mo-reader)[![Packagist](https://camo.githubusercontent.com/02f989f7d024d8ff3297861dc3cbadc914072199b9f6809242424480c82ba2c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d6178616b6177697a6172642f6d6f2d7265616465722e737667)](https://packagist.org/packages/maxakawizard/mo-reader)

[![Minimum PHP Version](https://camo.githubusercontent.com/e97290c4047b8fc1152177fc8110cab416f31f18159b722b6b633a210a198861/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/87f56909abdfeff29326542d6885897bca5ec32b2cd7248d075e61f478100913/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6178616b6177697a6172642f6d6f2d7265616465722e737667)](https://packagist.org/packages/maxakawizard/mo-reader)

Gettext \*.mo files reader for PHP.

This package is compliant with [PSR-4](http://www.php-fig.org/psr/4/), [PSR-1](http://www.php-fig.org/psr/1/), and [PSR-2](http://www.php-fig.org/psr/2/). If you notice compliance oversights, please send a patch via pull request.

Usage
-----

[](#usage)

```
$parser = new \MoReader\Reader();
$data = $reader->load('my-file.mo'); //data is an array with entries
```

Running tests
-------------

[](#running-tests)

```
./vendor/bin/phpunit
```

License
-------

[](#license)

This library is released under [MIT](http://www.tldrlegal.com/license/mit-license) license.

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~538 days

Total

4

Last Release

2832d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1138453?v=4)[Max Grigorian](/maintainers/MAXakaWIZARD)[@MAXakaWIZARD](https://github.com/MAXakaWIZARD)

---

Top Contributors

[![MAXakaWIZARD](https://avatars.githubusercontent.com/u/1138453?v=4)](https://github.com/MAXakaWIZARD "MAXakaWIZARD (37 commits)")[![Art4](https://avatars.githubusercontent.com/u/2162994?v=4)](https://github.com/Art4 "Art4 (3 commits)")

---

Tags

i18nl10ngettextmo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maxakawizard-mo-reader/health.svg)

```
[![Health](https://phpackages.com/badges/maxakawizard-mo-reader/health.svg)](https://phpackages.com/packages/maxakawizard-mo-reader)
```

###  Alternatives

[symfony/intl

Provides access to the localization data of the ICU library

2.6k195.4M921](/packages/symfony-intl)[gettext/gettext

PHP gettext manager

70529.5M90](/packages/gettext-gettext)[phpmyadmin/motranslator

Translation API for PHP using Gettext MO files

621.7M5](/packages/phpmyadmin-motranslator)[gettext/languages

gettext languages with plural rules

7529.6M10](/packages/gettext-languages)[fisharebest/localization

A lightweight localization database and translation tools, with data from the CLDR, IANA, ISO, etc.

2989.4k2](/packages/fisharebest-localization)[maxakawizard/po-parser

Gettext \*.po parser for PHP

1770.5k](/packages/maxakawizard-po-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
