PHPackages                             api-clients/middleware-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. api-clients/middleware-xml

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

api-clients/middleware-xml
==========================

Middleware taking care of encoding and decoding XML bodies

1.0.2(8y ago)14.7k[3 PRs](https://github.com/php-api-clients/middleware-xml/pulls)2MITPHPPHP ^7.0

Since Dec 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/php-api-clients/middleware-xml)[ Packagist](https://packagist.org/packages/api-clients/middleware-xml)[ RSS](/packages/api-clients-middleware-xml/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (7)Used By (2)

XML Encoding/Decoding middleware for PHP 7.x
============================================

[](#xml-encodingdecoding-middleware-for-php-7x)

[![Build Status](https://camo.githubusercontent.com/1cf0e99349298df7e50edcd89630bc93f068d9c353d2e4e0be46fff9aff76db0/68747470733a2f2f7472617669732d63692e6f72672f7068702d6170692d636c69656e74732f6d6964646c65776172652d786d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/php-api-clients/middleware-xml)[![Latest Stable Version](https://camo.githubusercontent.com/048bd7d0d072117b5f6b45b66e9a1ddee313e74af0e8c5b10cc4ee3092d6377b/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d786d6c2f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/middleware-xml)[![Total Downloads](https://camo.githubusercontent.com/e50089a833f7c5dd6f62dd6056bc1de2a801556da1abcc6f24c26089b8915fc7/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d786d6c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/middleware-xml/stats)[![Code Coverage](https://camo.githubusercontent.com/5c7c272067ed7f40784f0ea8d27cada4bde697298f00fdc7abfc5647290a804c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f6d6964646c65776172652d786d6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/php-api-clients/middleware-xml/?branch=master)[![License](https://camo.githubusercontent.com/36a1c702e7c16cd0bf0db8440a04905fad3daac4a71e73ff61248a369843169b/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6d6964646c65776172652d786d6c2f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/middleware-xml)[![PHP 7 ready](https://camo.githubusercontent.com/9fcd94e34d78ac5c1f84ae461ad078b7a741f759cedff697917f00ad8c58d84f/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7068702d6170692d636c69656e74732f6d6964646c65776172652d786d6c2f62616467652e737667)](https://appveyor-ci.org/php-api-clients/middleware-xml)

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2017 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 59.6% 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 ~6 days

Total

3

Last Release

3056d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (28 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/api-clients-middleware-xml/health.svg)

```
[![Health](https://phpackages.com/badges/api-clients-middleware-xml/health.svg)](https://phpackages.com/packages/api-clients-middleware-xml)
```

###  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.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

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

Parser for CSS Files written in PHP

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

PHP Markdown

3.5k52.4M345](/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)
