PHPackages                             ducks-project/encoding-repair - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ducks-project/encoding-repair

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ducks-project/encoding-repair
=============================

A robust, immutable, and extensible PHP library to handle charset conversion, detection, and repair (Double Encoding) with safe JSON wrappers. Optimized for Legacy ISO-8859-1 to UTF-8 migrations.

v1.2.0(3mo ago)11MITPHP &gt;=7.4

Since Jan 21Compare

[ Source](https://github.com/ducks-project/encoding-repair)[ Packagist](https://packagist.org/packages/ducks-project/encoding-repair)[ Docs](https://github.com/ducks-project/encoding-repair/)[ GitHub Sponsors](https://github.com/donaldinou)[ Fund](https://opencollective.com/ducks-project)[ RSS](/packages/ducks-project-encoding-repair/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (11)Versions (16)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/ducks-project/encoding-repair).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance79

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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.

###  Release Activity

Cadence

Every ~0 days

Total

14

Last Release

111d ago

Major Versions

v0.1.0 → v1.0.02026-01-22

v0.1.1 → v1.0.12026-01-23

v0.1.2 → v1.0.22026-01-23

0.x-dev → 1.1.x-dev2026-01-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/0642cbb897484fb50a72d1c6f9e4ea6f53f776a3bfc0fdb36cd2b1536b0c1872?d=identicon)[donaldinou](/maintainers/donaldinou)

---

Top Contributors

[![donaldinou](https://avatars.githubusercontent.com/u/429269?v=4)](https://github.com/donaldinou "donaldinou (81 commits)")

---

Tags

jsonutf8unicodeencodingcharsetconversionlegacyrepairtranscodechain of responsibilityISO-8859-1cp1252windows-1252

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ducks-project-encoding-repair/health.svg)

```
[![Health](https://phpackages.com/badges/ducks-project-encoding-repair/health.svg)](https://phpackages.com/packages/ducks-project-encoding-repair)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)[clue/ndjson-react

Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.

15467.7M16](/packages/clue-ndjson-react)

PHPackages © 2026

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