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

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

ajtis/xml-bundle
================

Symfony XmlBundle

v2026.1.16.02(5mo ago)0169MITPHPPHP &gt;=5.4.0

Since Jan 15Pushed 5mo agoCompare

[ Source](https://github.com/ajtis/xmlBundle)[ Packagist](https://packagist.org/packages/ajtis/xml-bundle)[ RSS](/packages/ajtis-xml-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

[![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

31

—

LowBetter than 66% of packages

Maintenance70

Regular maintenance activity

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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 ~0 days

Total

3

Last Release

168d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b7b95167b43d50b563ad90add9f2a4aa52290065119e6f76ac6851776195f0f?d=identicon)[ajtis](/maintainers/ajtis)

---

Tags

xml generatorXml ReaderXml Formatter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

32642.2k24](/packages/symfony-ai-bundle)

PHPackages © 2026

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