PHPackages                             desperado/xml-bundle - 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. desperado/xml-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

desperado/xml-bundle
====================

Symfony XmlBundle

0.1.7(11y ago)9147.1k↓35.7%11[3 PRs](https://github.com/pravednik/xmlBundle/pulls)2MITPHPPHP &gt;=5.4.0

Since Jul 21Pushed 5y ago3 watchersCompare

[ Source](https://github.com/pravednik/xmlBundle)[ Packagist](https://packagist.org/packages/desperado/xml-bundle)[ RSS](/packages/desperado-xml-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (9)Used By (2)Security (1)

[![Build Status](https://camo.githubusercontent.com/3a05e327fd15ce51d5bfe4fe6a7ae82efc7d96a260bdf86bd16536326af258d2/68747470733a2f2f7472617669732d63692e6f72672f7072617665646e696b2f786d6c42756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/pravednik/xmlBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/98f417e385d8b7e52373b7034d08f52264f262410b2735feef87c573e6821364/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f61633366613737362d626331392d346664372d393966302d6130343636633162306264332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/ac3fa776-bc19-4fd7-99f0-a0466c1b0bd3)[![Latest Stable Version](https://camo.githubusercontent.com/c4eb656523ea8be82048c1f722618934a4947e67a58776d4f44ca2896f98f76e/68747470733a2f2f706f7365722e707567782e6f72672f64657370657261646f2f786d6c2d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/desperado/xml-bundle)[![License](https://camo.githubusercontent.com/b42a53659f62faeb7de4444df90a6cf8e98d448db4df278f58b4a81e26c214bb/68747470733a2f2f706f7365722e707567782e6f72672f64657370657261646f2f786d6c2d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/desperado/xml-bundle)[![Total Downloads](https://camo.githubusercontent.com/e0b27dcec858b95ab430f45c3eef9ab3666183e10f8031097b2665ed4258625e/68747470733a2f2f706f7365722e707567782e6f72672f64657370657261646f2f786d6c2d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/desperado/xml-bundle)

XML Builder/Reader Bundle for Symfony2

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

[](#installation)

Using composer

Add `desperado/xml-bundle` to your composer.json file.

```
     "require": {
	     "desperado/xml-bundle": "dev-master"
     }
```

The next thing you should do is install the bundle by executing the following command:

```
php composer.phar update desperado/xml-bundle

```

Finally, add the bundle to the registerBundles function of the AppKernel class in the *app/AppKernel.php* file:

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Desperado\XmlBundle\DesperadoXmlBundle,
        ...
    );

```

Usage
-----

[](#usage)

### DIC

[](#dic)

- XmlEditor: desperado\_xml.model.xml\_editor
- XmlGenerator: desperado\_xml.model.xml\_generator
- XmlReader: desperado\_xml.model.xml\_reader
- XmlPrepare: desperado\_xml.model.xml\_prepare

### Create xml from array

[](#create-xml-from-array)

```

      emptyAccount

```

### Create XML without attributes, namespaces, etc.

[](#create-xml-without-attributes-namespaces-etc)

```
 Array
        (
            [PaymentParameters] => Array
                (
                    [first_node] => first_node_value
                    [second_node] => second_node_value
                )

        )

)
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.1% 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 ~44 days

Recently: every ~58 days

Total

7

Last Release

4050d ago

### Community

Maintainers

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

---

Top Contributors

[![pravednik](https://avatars.githubusercontent.com/u/250552?v=4)](https://github.com/pravednik "pravednik (11 commits)")[![mmasiukevich](https://avatars.githubusercontent.com/u/31206791?v=4)](https://github.com/mmasiukevich "mmasiukevich (6 commits)")[![kilinho](https://avatars.githubusercontent.com/u/6135269?v=4)](https://github.com/kilinho "kilinho (1 commits)")

---

Tags

xml generatorXml ReaderXml Formatter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/desperado-xml-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/desperado-xml-bundle/health.svg)](https://phpackages.com/packages/desperado-xml-bundle)
```

###  Alternatives

[botman/botman

Create messaging bots in PHP with ease.

6.2k1.5M97](/packages/botman-botman)[denngarr/seat-fitting

Module to check fittings per character

1433.3k2](/packages/denngarr-seat-fitting)[thedmsgroup/mautic-enhancer-bundle

Various contact enhancer integrations for Mautic.

342.8k](/packages/thedmsgroup-mautic-enhancer-bundle)[xi/breadcrumbs-bundle

Xi breadcrumbs bundle for Symfony2 that utilises routes as a tree to build the breadcrumbs in order to not pollute the controller actions with repetitive breadcrumbs code.

113.2k](/packages/xi-breadcrumbs-bundle)

PHPackages © 2026

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