PHPackages                             paranoiq/xmlon-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. paranoiq/xmlon-encoder

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

paranoiq/xmlon-encoder
======================

Serialize variables to simple XML format, just like JSON

v1.0(12y ago)046.0k↓36.8%BSD-3-ClausePHPPHP &gt;= 5.3.0

Since Oct 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/paranoiq/XmlonEncoder)[ Packagist](https://packagist.org/packages/paranoiq/xmlon-encoder)[ Docs](http://paranoiq.cz)[ RSS](/packages/paranoiq-xmlon-encoder/feed)WikiDiscussions master Synced yesterday

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

XMLON encoder
=============

[](#xmlon-encoder)

Serialize variables to simple XML format used by old 37signals APIs

- element names are translated from camelCase to dash-case (optional)
- objects and strings have no type attribute
- datetime with zero time is exported as 'date' type
- if no name of root element is given "data" is used
- supports only UTF-8 encoding
- does not support namespaces or any other fancy XML features

PHP:

```
(object) [
  'intVal' => 123,
  'floatVal' => 456.789,
  'boolVal' => TRUE,
  'dateVal' => new DateTime('2013-10-10'),
  'timeVal' => new DateTime(),
  'arrayVals' => ['Hello', 'World']
]
```

XML:

```

  123
  456.786
  true
  2013-10-10
  2013-10-10T10:10:10+0100

    Hello
    World

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

4646d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/146912?v=4)[Vlasta Neubauer](/maintainers/paranoiq)[@paranoiq](https://github.com/paranoiq)

![](https://avatars.githubusercontent.com/u/2980945?v=4)[roboclevis](/maintainers/roboclevis)[@roboclevis](https://github.com/roboclevis)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/paranoiq-xmlon-encoder/health.svg)

```
[![Health](https://phpackages.com/badges/paranoiq-xmlon-encoder/health.svg)](https://phpackages.com/packages/paranoiq-xmlon-encoder)
```

###  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)
