PHPackages                             tacoberu/php-naiacode - 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. tacoberu/php-naiacode

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

tacoberu/php-naiacode
=====================

De/Serialization text with meta from/to human readable text string.

v1.0.3(6mo ago)051MITPHPPHP &gt;=5.3.0

Since Mar 15Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tacoberu/php-naiacode)[ Packagist](https://packagist.org/packages/tacoberu/php-naiacode)[ RSS](/packages/tacoberu-php-naiacode/feed)WikiDiscussions master Synced today

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

NaiaCode
========

[](#naiacode)

De/Serialization text with meta from/to human readable text string.

```
$str =
"Any-Header: with value
Meta: {"vendor":"zim","ver":"0.4"}
Content-Type: text/x-zim-wiki

And Lorem ipsum doler ist.";

(new Decoder())->decode($str) == [
    "And Lorem ipsum doler ist.",
    [
        'any-header' => "with value",
        'meta' => (object) [
            'vendor' => 'zim',
            'ver' => '0.4',
        ],
        'content-type' => "text/x-zim-wiki",
    ]
]

```

And encoding similarly.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance68

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

5

Last Release

185d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d9535bc57ab9e7c844b76be57d024b97eb84e9f8a9d308537afffe9cf81c409?d=identicon)[tacoberu](/maintainers/tacoberu)

---

Top Contributors

[![tacoberu](https://avatars.githubusercontent.com/u/1828339?v=4)](https://github.com/tacoberu "tacoberu (6 commits)")

---

Tags

parserserializeheaderhumanfile-format

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tacoberu-php-naiacode/health.svg)

```
[![Health](https://phpackages.com/badges/tacoberu-php-naiacode/health.svg)](https://phpackages.com/packages/tacoberu-php-naiacode)
```

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k902.6M1.8k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M118](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k151.8M732](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M702](/packages/league-commonmark)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)

PHPackages © 2026

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