PHPackages                             crafting-shards/nbt-decoder-encoder - 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. crafting-shards/nbt-decoder-encoder

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

crafting-shards/nbt-decoder-encoder
===================================

A PHP-based NBT format decoder and encoder, for the Minecraft NBT format.

v1.0.1(10y ago)027[1 issues](https://github.com/crafting-shards/PHP-NBT-Decoder-Encoder/issues)MITPHPPHP &gt;=5.4

Since Sep 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/crafting-shards/PHP-NBT-Decoder-Encoder)[ Packagist](https://packagist.org/packages/crafting-shards/nbt-decoder-encoder)[ Docs](https://github.com/crafting-shards/PHP-NBT-Decoder-Encoder)[ RSS](/packages/crafting-shards-nbt-decoder-encoder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

PHP NBT Decoder / Encoder [![Build Status](https://camo.githubusercontent.com/e3222a6cc59cc13fc72f5c3db4a5d599a3c93e053dbdc554dd68c550b503eea9/68747470733a2f2f7472617669732d63692e6f72672f6372616674696e672d7368617264732f5048502d4e42542d4465636f6465722d456e636f6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/crafting-shards/PHP-NBT-Decoder-Encoder) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/164e24a9c54767a35c6a4fc43945c2d474917cc1e532b352da7607e30f4c0de8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6372616674696e672d7368617264732f5048502d4e42542d4465636f6465722d456e636f6465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/crafting-shards/PHP-NBT-Decoder-Encoder/?branch=master)
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-nbt-decoder--encoder--)

A PHP-based NBT format decoder and encoder, for the Minecraft NBT format.
A basic usage example is available in tests/NBTTest.php. I suggest you run this script before you use the library for any other project, because this script acts as a sort of "requirements test" for your system, to ensure you have the right extensions, and that there's nothing funky with your configuration.

**Requires the GMP or bcmath extensions for PHP on x86 systems.**

###  Health Score

26

↑

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

3909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8448edbc85e5ec8c1e24f84aa15fe7589c37ca60abd7429421a71e834d0a7567?d=identicon)[fernando.marquardt](/maintainers/fernando.marquardt)

---

Top Contributors

[![TheFrozenFire](https://avatars.githubusercontent.com/u/948014?v=4)](https://github.com/TheFrozenFire "TheFrozenFire (19 commits)")[![xPaw](https://avatars.githubusercontent.com/u/613331?v=4)](https://github.com/xPaw "xPaw (1 commits)")

---

Tags

NBT

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crafting-shards-nbt-decoder-encoder/health.svg)

```
[![Health](https://phpackages.com/badges/crafting-shards-nbt-decoder-encoder/health.svg)](https://phpackages.com/packages/crafting-shards-nbt-decoder-encoder)
```

###  Alternatives

[yii2mod/yii2-star-rating

Star rating widget based on jQuery Raty https://github.com/wbotelhos/raty

1815.4k](/packages/yii2mod-yii2-star-rating)[pixelant/pxa-survey

Create simple survey. View results in the BE module

197.2k](/packages/pixelant-pxa-survey)

PHPackages © 2026

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