PHPackages                             net\_bazzline/php\_configuration\_format\_converter - 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. net\_bazzline/php\_configuration\_format\_converter

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

net\_bazzline/php\_configuration\_format\_converter
===================================================

php that converts following configuration formats: xml, php array, yaml, json

v1.0.0(13y ago)00GPLv3PHPPHP &gt;=5.3.3

Since Jun 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/stevleibelt/php_configuration_format_converter)[ Packagist](https://packagist.org/packages/net_bazzline/php_configuration_format_converter)[ Docs](https://github.com/stevleibelt/php_configuration_format_converter)[ RSS](/packages/net-bazzline-php-configuration-format-converter/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (1)Used By (0)

php\_configuration\_format\_converter
=====================================

[](#php_configuration_format_converter)

A cli tool to convert files from and to yaml, json, xml or php array

Install
-------

[](#install)

Install it via: \* `git clone `[https://github.com/stevleibelt/php\_configuration\_format\_converter](https://github.com/stevleibelt/php_configuration_format_converter)\* composer and [packagist.org](https://packagist.org/packages/net_bazzline/php_configuration_format_converter) `"net_bazzline/php_configuration_format_converter": "dev-master"`

Usage
-----

[](#usage)

Simple switch to the directory via console and typ `bin/net_bazzline_configuration_format_converter.php`. This will display the help screen.

To start converting, add source and destination behind the command `convert`.

`bin/net_bazzline_configuration_format_converter.php convert my/source/file.yaml my/destination/file.php`

The tool decides on the given file extension how he has to handle the conversation. File extensions can be uppercase, lowercase, whatevercase.

Supported formats
-----------------

[](#supported-formats)

Right now, the following formares are supported: \* YAML \* XML \* JSON \* php array

Examples
--------

[](#examples)

Take a look to the directory [examples](https://github.com/stevleibelt/php_configuration_format_converter/tree/master/example) to just start playing arround.

Notes
-----

[](#notes)

The converter will stop working if destination file already exists.
If you want to overwrite that file, you have to add the option `--force`.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.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

Unknown

Total

1

Last Release

4774d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58451b041f6f5a38c7e62762c96d01f5e2bcac30e322707fe4760a82bccb6856?d=identicon)[artodeto](/maintainers/artodeto)

---

Top Contributors

[![stevleibelt](https://avatars.githubusercontent.com/u/2287220?v=4)](https://github.com/stevleibelt "stevleibelt (22 commits)")[![atodeto](https://avatars.githubusercontent.com/u/1136516?v=4)](https://github.com/atodeto "atodeto (2 commits)")

---

Tags

phpjsonconfigurationxmlyamlconverterbazzlinephp-array

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/net-bazzline-php-configuration-format-converter/health.svg)

```
[![Health](https://phpackages.com/badges/net-bazzline-php-configuration-format-converter/health.svg)](https://phpackages.com/packages/net-bazzline-php-configuration-format-converter)
```

###  Alternatives

[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

1.0k13.8M186](/packages/hassankhan-config)[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

69124.3k1](/packages/m1-vars)[davidepastore/slim-config

A slim middleware to read configuration from different files based on hassankhan/config

359.2k1](/packages/davidepastore-slim-config)

PHPackages © 2026

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