PHPackages                             basilicom/xml-tool-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. basilicom/xml-tool-bundle

ActivePimcore-bundle[Parsing &amp; Serialization](/categories/parsing)

basilicom/xml-tool-bundle
=========================

This Bundle provides xml (export) tools for Pimcore.

v1.3.1(4y ago)1226GPL-3.0-or-laterPHP

Since Jul 22Pushed 4y ago3 watchersCompare

[ Source](https://github.com/basilicom/xml-tool-bundle)[ Packagist](https://packagist.org/packages/basilicom/xml-tool-bundle)[ Docs](https://basilicom.de)[ RSS](/packages/basilicom-xml-tool-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (9)Used By (0)

Basilicom Xml Tool bundle for Pimcore
=====================================

[](#basilicom-xml-tool-bundle-for-pimcore)

Adds commands for dealing with XML data. For now, parts of the Object tree can be exported recursively, retaining the hierarchy.

Exports can be triggered by a console command and written to stdout, a file or an pimcore asset.

If enabled, exports can be made available via a REST API, too.

Table of contents
=================

[](#table-of-contents)

- [Basilicom Xml Tool bundle for Pimcore](#basilicom-xml-tool-bundle-for-pimcore)
    - [License](#license)
    - [Requirements](#requirements)
    - [Installation](#installation)
    - [Configuration](#configuration)
        - [Console Usage](#console-usage)
        - [Usage: REST API](#usage-rest-api)
        - [Limitations](#limitations)

License
-------

[](#license)

GPLv3 - see: LICENSE

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1
- Pimcore &gt;= 5.0.0
- XSL PHP extension for --xslt option support

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

[](#installation)

1. Install the bundle using composer `composer require basilicom/xml-tool-bundle dev-master`.
2. Execute `bin/console pimcore:bundle:enable BasilicomXmlToolBundle`

Configuration
-------------

[](#configuration)

n/a

### Console Usage

[](#console-usage)

Use the export command to export command to export the Object tree, example for path `/foo`:

```
    bin/console basilicom:xmltool:export /foo

```

Example output:

Note: The Object tree `/foo` contains in the example a single Object of the Object Class `Bar` with a single Input property of `name`.

```
Exporting tree of Objects starting at /foo

```

Complex example:

- do not export the attributes / fields of objects attached via relations
- export variants of objects, too
- change the name of the root node to 'Products'
- apply a sample xslt
- export to a pimcore asset `/output/my-export.xml`

```
./bin/console basilicom:xmltool:export --omit-relation-object-fields --include-variants --root=products --asset=/output/my-export.xml --xslt sample.xsl /exp

```

Sample XSLT:

```

```

For all options (writing to a file, etc.), see:

```
    bin/console basilicom:xmltool:export --help

```

### Usage: REST API

[](#usage-rest-api)

In order to enable the REST API, place a configuration file in `app/config/local/xmltool.yml`:

```
basilicom_xml_tool:
  api:
    enabled: true
    endpoints:
      test1:
        token: secrettoken0815
        root: Products # Root name of the exported XML file
        path: /export/products # Path to the exporting objects
        xslt: ../sample.xsl
        include_variants: true
        omit_relation_object_fields: true
      test2:
        path: /sample/obj/path
```

This example enables two endpoint URLs:

-
-

### Limitations

[](#limitations)

Only a few field types are supported for now:

- input
- select
- wysiwyg
- textarea
- date
- datetime
- ManyToManyObjectRelation
- color
- rgbaColor
- localizedFields

To extend the supported types, implement a `getForType*` method in `Service/Xml.php`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 65.7% 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 ~111 days

Recently: every ~128 days

Total

6

Last Release

1567d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0d06c93d4cfac61be4239ec123ca75a189a5275d4e1782755d85029e67b6bc?d=identicon)[christophluehr](/maintainers/christophluehr)

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

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

![](https://www.gravatar.com/avatar/66044563147e9ced476ac0107e7142f6f97c7362d143800c115401b0eebe102e?d=identicon)[mixahead](/maintainers/mixahead)

---

Top Contributors

[![christophluehr](https://avatars.githubusercontent.com/u/1352356?v=4)](https://github.com/christophluehr "christophluehr (23 commits)")[![clemenskapelle](https://avatars.githubusercontent.com/u/98171870?v=4)](https://github.com/clemenskapelle "clemenskapelle (9 commits)")[![kohld-basilicom](https://avatars.githubusercontent.com/u/38529689?v=4)](https://github.com/kohld-basilicom "kohld-basilicom (2 commits)")[![mixahead](https://avatars.githubusercontent.com/u/1044092?v=4)](https://github.com/mixahead "mixahead (1 commits)")

---

Tags

xmlexportpimcore

###  Code Quality

TestsCodeception

### Embed Badge

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

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

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

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[nette/neon

🍸 Nette NEON: encodes and decodes NEON file format.

93462.1M333](/packages/nette-neon)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)

PHPackages © 2026

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