PHPackages                             casperbiering/dotnet-binary-xml - 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. casperbiering/dotnet-binary-xml

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

casperbiering/dotnet-binary-xml
===============================

Parsing and writing of .NET Binary Format

v2.1.0(1mo ago)31.4k2MITPHPPHP &gt;=7.3CI passing

Since Nov 5Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/casperbiering/dotnet-binary-xml)[ Packagist](https://packagist.org/packages/casperbiering/dotnet-binary-xml)[ RSS](/packages/casperbiering-dotnet-binary-xml/feed)WikiDiscussions main Synced today

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

dotnet-binary-xml
=================

[](#dotnet-binary-xml)

[![CI](https://github.com/casperbiering/dotnet-binary-xml/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/casperbiering/dotnet-binary-xml/actions/workflows/ci.yaml)

**dotnet-binary-xml** is a PHP implementation of the [.NET Binary Format: XML Data Structure (MC-NBFX)](http://msdn.microsoft.com/en-us/library/cc219210.aspx).

Installation
------------

[](#installation)

Just install [Composer](http://getcomposer.org) and run `composer require casperbiering/dotnet-binary-xml` in your project directory.

Requirements
------------

[](#requirements)

- XMLReader (PHP extension)
- XMLWriter (PHP extension)
- MBString (PHP extension)
- GMP (PHP extension)

Known/Missing Issues
--------------------

[](#knownmissing-issues)

- encoded output is not optimized
- local timezone offset in datetime

Specification Inconsistencies
-----------------------------

[](#specification-inconsistencies)

- [Spec](http://msdn.microsoft.com/en-us/library/cc219251(v=PROT.10).aspx) says that "If the hour, minutes, seconds, and fraction of second parts are zero, the date MUST be interpreted as the following characters. yyyy-MM-dd". That does not match the [examples](https://msdn.microsoft.com/en-us/library/cc219284.aspx).
- [Spec](http://msdn.microsoft.com/en-us/library/cc219270(v=PROT.10).aspx) says that UnicodeChars32TextRecord MUST be encoded using MultiByteInt31. That does not match the [examples](https://msdn.microsoft.com/en-us/library/cc219284.aspx).

License
-------

[](#license)

MIT

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance94

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 65.2% 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 ~1931 days

Total

3

Last Release

32d ago

Major Versions

v1.0.0 → v2.0.02022-08-29

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4234dd9b6338d9832db5c1ca45ef652e188a64958d714e5aae9a3c943123c0f6?d=identicon)[casperbiering](/maintainers/casperbiering)

---

Top Contributors

[![casperbiering](https://avatars.githubusercontent.com/u/461165?v=4)](https://github.com/casperbiering "casperbiering (30 commits)")[![z38](https://avatars.githubusercontent.com/u/3948085?v=4)](https://github.com/z38 "z38 (14 commits)")[![ardabeyazoglu](https://avatars.githubusercontent.com/u/1159836?v=4)](https://github.com/ardabeyazoglu "ardabeyazoglu (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/casperbiering-dotnet-binary-xml/health.svg)

```
[![Health](https://phpackages.com/badges/casperbiering-dotnet-binary-xml/health.svg)](https://phpackages.com/packages/casperbiering-dotnet-binary-xml)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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