PHPackages                             appserver-io/configuration - 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. appserver-io/configuration

ActiveLibrary

appserver-io/configuration
==========================

Provides basic functionality to handle XML data in a tree structure, like SimpleXML does.

3.0.0(8y ago)07.4k32OSL-3.0PHPPHP &gt;=5.4.0

Since Nov 22Pushed 8y ago3 watchersCompare

[ Source](https://github.com/appserver-io/configuration)[ Packagist](https://packagist.org/packages/appserver-io/configuration)[ Docs](https://github.com/appserver-io/configuration)[ RSS](/packages/appserver-io-configuration/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (2)

Library to handle XML files in a tree structure
===============================================

[](#library-to-handle-xml-files-in-a-tree-structure)

[![Latest Stable Version](https://camo.githubusercontent.com/7a491b6a8ce713a67d0d2204c65fd1e76e8d974f65c79c80e92a96955c41f95c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170707365727665722d696f2f636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io/configuration)[![Total Downloads](https://camo.githubusercontent.com/65ca87b7e0108c3fef24bb0ec00c4721bdccafeae558cb945cf7bdae6715f9c5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170707365727665722d696f2f636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io/configuration)[![License](https://camo.githubusercontent.com/61b10eb4fc0275dc8d80d16cf5b9c3c8811534c5ae9e3f946283771444ad6be7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6170707365727665722d696f2f636f6e66696775726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io/configuration)[![Build Status](https://camo.githubusercontent.com/72a19dccd42c06cb75d9c76ba8434c6084045029f9b99ad7fd3f46160f2c9c5d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6170707365727665722d696f2f636f6e66696775726174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](http://travis-ci.org/appserver-io/configuration)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7226698d9daff93e2bd4f8ffdcfad1adb4f90f586d3fc56d11b4c5c96193907c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6170707365727665722d696f2f636f6e66696775726174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/appserver-io/configuration/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f10c1328f713424cdc9f348cd5b3abb5f152f17b3f6fadb7628d93f151d32bdb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6170707365727665722d696f2f636f6e66696775726174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/appserver-io/configuration/?branch=master)

Introduction
------------

[](#introduction)

This package provides generic XML handling functionality, designed to work in an application server like appserver.io. The configuration contains the XML structure in a simple object structure that makes it synchronziable between threads.

Issues
------

[](#issues)

In order to bundle our efforts we would like to collect all issues regarding this package in [the main project repository's issue tracker](https://github.com/appserver-io/appserver/issues). Please reference the originating repository as the first element of the issue title e.g.: `[appserver-io/] A issue I am having`

Usage
-----

[](#usage)

As described in the introduction the configuration is originally designed to work in a runtime environment like appserver.io provides it. The big advantage is, that it does not contain any not synchronizable instances which allows you to share it between threads.

The configuration needs a XML file, the structure is not important, and converts it into an object structure:

```
// initialize the configuration with the content XML configuration file
$configuration = new Configuration();
$configuration->initFromFile('/your/file.xml');

// add a new node XML to the root node
$configuration->addChildWithNameAndValue('baseDirectory', '/application/base/directory');
```

External Links
--------------

[](#external-links)

- Documentation at [appserver.io](http://docs.appserver.io)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~208 days

Recently: every ~291 days

Total

7

Last Release

2938d ago

Major Versions

0.1.3 → 1.0.02015-02-13

1.0.0 → 2.0.02015-03-03

2.0.2 → 3.0.02018-04-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b54aaecf7287a0520eec0009161ca457982dee83ac413bfa0d818b72d79947?d=identicon)[wagnert](/maintainers/wagnert)

![](https://www.gravatar.com/avatar/33b42e8c7314da5df45bca5d1dd786ea2b3d540fae5a5a9489580a886f2f4f39?d=identicon)[zelgerj](/maintainers/zelgerj)

![](https://www.gravatar.com/avatar/aa15f27f393eeb1f1a481fa7de89b41add17de686da79d49e07c5c77249c5e86?d=identicon)[wick-ed](/maintainers/wick-ed)

---

Top Contributors

[![wick-ed](https://avatars.githubusercontent.com/u/4931168?v=4)](https://github.com/wick-ed "wick-ed (11 commits)")[![wagnert](https://avatars.githubusercontent.com/u/287509?v=4)](https://github.com/wagnert "wagnert (9 commits)")[![zelgerj](https://avatars.githubusercontent.com/u/287595?v=4)](https://github.com/zelgerj "zelgerj (1 commits)")

---

Tags

xml configuration

### Embed Badge

![Health badge](/badges/appserver-io-configuration/health.svg)

```
[![Health](https://phpackages.com/badges/appserver-io-configuration/health.svg)](https://phpackages.com/packages/appserver-io-configuration)
```

PHPackages © 2026

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