PHPackages                             thapp/xmlconf - 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. thapp/xmlconf

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

thapp/xmlconf
=============

Xml configuration utility

v1.0.0(13y ago)1751MITPHPPHP &gt;= 5.3.7

Since Apr 28Pushed 13y ago1 watchersCompare

[ Source](https://github.com/iwyg/xmlconf)[ Packagist](https://packagist.org/packages/thapp/xmlconf)[ RSS](/packages/thapp-xmlconf/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (1)Used By (1)

Bootstrap stuff from xml
========================

[](#bootstrap-stuff-from-xml)

[![Build Status](https://camo.githubusercontent.com/e0e4421624214e26d99c6109b65912643e689904440a2390cc7fc22f1635aa86/68747470733a2f2f7472617669732d63692e6f72672f697779672f786d6c636f6e662e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/iwyg/xmlconf)

Synopsis
--------

[](#synopsis)

This package lets you easily bootstrap data, objects, or whatever from an xml configuration file. The xml configuration file however must validate against a provided xsd schema.

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

[](#installation)

Add thapp/xmlconf as a requirement to composer.json:

```
{
    "require": {
        "thapp/xmlconf": "1.0.*"
    }
}
```

Then run `composer update` or `composer install`

Next step is to tell laravel to load the serviceprovider. In `app/config/app.php` add

```
  // ...
  'Thapp\XmlConf\XmlConfServiceProvider'
  // ...
```

to the `providers` array.

### Publish configuration

[](#publish-configuration)

```
php artisan config:publish thapp/xmlconfig
```

Examples
--------

[](#examples)

This package provides an example directory that should get you started quickly.

For a first glimpse you may copy the `storage/sections/config.xml` that is included with this package to `app/storage/sections/config.xml`.

Next, create a new route. Somethig like this should do:

```
Route::get('/examples', function () use ($app) {
    $SectionRepository = new Thapp\XmlConf\Examples\Sections\Repository($app['xmlconf.sections']);
    var_dump($SectionRepository);
});
```

General
-------

[](#general)

### File structure

[](#file-structure)

```
- Vendor/
  - ReaderName/
    - Schema/
      - readername.xsd
    - ReaderNameSimpleXml.php
    - ReaderNameConfigReader.php

```

### xml storage structure

[](#xml-storage-structure)

```
- app/
  - storage/
    - ReaderName/
      - config.xml

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4812d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/238a39d7233809dc823dec269ab3058e4689e593e65d8ce988cb6d0939ce411c?d=identicon)[iwyg](/maintainers/iwyg)

---

Top Contributors

[![iwyg](https://avatars.githubusercontent.com/u/718537?v=4)](https://github.com/iwyg "iwyg (29 commits)")

### Embed Badge

![Health badge](/badges/thapp-xmlconf/health.svg)

```
[![Health](https://phpackages.com/badges/thapp-xmlconf/health.svg)](https://phpackages.com/packages/thapp-xmlconf)
```

###  Alternatives

[laravolt/avatar

Turn name, email, and any other string into initial-based avatar or gravatar.

2.0k5.8M38](/packages/laravolt-avatar)[toin0u/geocoder-laravel

Geocoder Service Provider for Laravel

7615.4M17](/packages/toin0u-geocoder-laravel)[torann/geoip

Support for multiple Geographical Location services.

2.2k15.3M93](/packages/torann-geoip)[anlutro/l4-settings

Persistent settings in Laravel.

9382.5M19](/packages/anlutro-l4-settings)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[glorand/laravel-model-settings

Model Settings for your Laravel app

9141.2M4](/packages/glorand-laravel-model-settings)

PHPackages © 2026

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