PHPackages                             sunrise/coder - 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. sunrise/coder

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

sunrise/coder
=============

A flexible data coder for encoding and decoding formats like JSON, YAML, and more.

v1.1.1(1y ago)12.9k↑21.4%[1 issues](https://github.com/sunrise-php/coder/issues)[2 PRs](https://github.com/sunrise-php/coder/pulls)3MITPHPPHP &gt;=8.1

Since Feb 12Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sunrise-php/coder)[ Packagist](https://packagist.org/packages/sunrise/coder)[ Docs](https://github.com/sunrise-php/coder)[ RSS](/packages/sunrise-coder/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (5)Versions (10)Used By (3)

A flexible data coder for encoding and decoding formats like JSON, YAML, and more
=================================================================================

[](#a-flexible-data-coder-for-encoding-and-decoding-formats-like-json-yaml-and-more)

Resources
---------

[](#resources)

- [Documentation](https://dev.sunrise-studio.io/docs/packages/sunrise/coder/)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance47

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

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 ~8 days

Total

4

Last Release

480d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2872934?v=4)[Anatolii Nekhai](/maintainers/fenric)[@fenric](https://github.com/fenric)

---

Top Contributors

[![fenric](https://avatars.githubusercontent.com/u/2872934?v=4)](https://github.com/fenric "fenric (14 commits)")

---

Tags

coderdecoderdeserializerencoderphpserializerserializerencoderdecoderdeserializersunrisefenricCoder

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sunrise-coder/health.svg)

```
[![Health](https://phpackages.com/badges/sunrise-coder/health.svg)](https://phpackages.com/packages/sunrise-coder)
```

###  Alternatives

[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6753.8k](/packages/sbsaga-toon)[shaarli/netscape-bookmark-parser

Generic Netscape bookmark parser

2647.1k](/packages/shaarli-netscape-bookmark-parser)[suin/json

A Simple wrapper of json\_decode() and json\_encode(). This provides object-oriented interface and exception-based error handing.

1027.6k3](/packages/suin-json)

PHPackages © 2026

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