PHPackages                             yocto/yoclib-wbxml - 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. yocto/yoclib-wbxml

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

yocto/yoclib-wbxml
==================

This yocLibrary enables your project to encode and decode WBXML data in PHP.

v1.0.0(5y ago)3801GPL-3.0-or-laterPHPPHP ^7||^8

Since Feb 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yocto/yoclib-wbxml-php)[ Packagist](https://packagist.org/packages/yocto/yoclib-wbxml)[ RSS](/packages/yocto-yoclib-wbxml/feed)WikiDiscussions master Synced 1mo ago

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

yocLib - WBXML (PHP)
====================

[](#yoclib---wbxml-php)

This yocLibrary enables your project to encode and decode WBXML data in PHP.

Status
------

[](#status)

[![Build Status](https://camo.githubusercontent.com/24376c10932895e2f61478d90d03bbb90ca94ac2641df118b24ddc967bb2df70/68747470733a2f2f7472617669732d63692e636f6d2f796f63746f2f796f636c69622d7762786d6c2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/yocto/yoclib-wbxml-php)

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

[](#installation)

`composer require yocto/yoclib-wbxml`

Use
---

[](#use)

### Encoding

[](#encoding)

```
use YOCLIB\WBXML\CodePages\ExchangeActiveSync;
use YOCLIB\WBXML\WBXMLEncoder;
use YOCLIB\WBXML\WBXMLException;

$xml = '';

$codePages = ExchangeActiveSync::getCodePages();

$encoder = new WBXMLEncoder($codePages);

try{
	$binary = $encoder->encode($xml);
}catch(WBXMLException $e){
	//TODO
}
```

Decoding
--------

[](#decoding)

```
use YOCLIB\WBXML\CodePages\ExchangeActiveSync;
use YOCLIB\WBXML\WBXMLDecoder;
use YOCLIB\WBXML\WBXMLException;

$binary = "\x03\x01\x6a\x00\x00\xff\xff";

$codePages = ExchangeActiveSync::getCodePages();

$decoder = new WBXMLDecoder($codePages);

try{
	$xml = $decoder->decode($binary);
}catch(WBXMLException $e){
	//TODO
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1913d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3ae034dabcca429037e8c8dc77874180d875a0f3ea4772f8e854fa78ffe5585?d=identicon)[ben221199](/maintainers/ben221199)

---

Top Contributors

[![ben221199](https://avatars.githubusercontent.com/u/12856904?v=4)](https://github.com/ben221199 "ben221199 (37 commits)")

---

Tags

binarycomposerphpwbxmlxmlyoclibyocto

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yocto-yoclib-wbxml/health.svg)

```
[![Health](https://phpackages.com/badges/yocto-yoclib-wbxml/health.svg)](https://phpackages.com/packages/yocto-yoclib-wbxml)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

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

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

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M343](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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