PHPackages                             charles-rumley/php-po-to-json - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. charles-rumley/php-po-to-json

ActivePackage[Utility &amp; Helpers](/categories/utility)

charles-rumley/php-po-to-json
=============================

277.7k↓16.7%2PHP

Since Sep 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/charles-rumley/php-po-to-json)[ Packagist](https://packagist.org/packages/charles-rumley/php-po-to-json)[ RSS](/packages/charles-rumley-php-po-to-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Po To Json Converter
====================

[](#po-to-json-converter)

Convert PO files to Jed-compatible JSON using PHP.

Inspired by: - github.com/mikeedwards/po2json

Installation
============

[](#installation)

```
composer require charles-rumley/php-po-to-json

```

Usage
=====

[](#usage)

```
use CharlesRumley\PoToJson;

$poToJson = new PoToJson();

// Convert a PO file to JSON
$rawJson = $poToJson->withPoFile($path)->toRawJson();

// Convert a PO file to Jed-compatible JSON
$jedJson = $poToJson->withPoFile($path)->toJedJson();

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/67321b2be4770c8763a874f6f31b35975bd545598309f21b0a9e3689f5c4c328?d=identicon)[charles-rumley](/maintainers/charles-rumley)

---

Top Contributors

[![charles-rumley](https://avatars.githubusercontent.com/u/8379704?v=4)](https://github.com/charles-rumley "charles-rumley (2 commits)")

### Embed Badge

![Health badge](/badges/charles-rumley-php-po-to-json/health.svg)

```
[![Health](https://phpackages.com/badges/charles-rumley-php-po-to-json/health.svg)](https://phpackages.com/packages/charles-rumley-php-po-to-json)
```

PHPackages © 2026

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