susina/config-builder

Load and build configuration classes

v1.0.1 2024-11-30 13:47 UTC

This package is auto-updated.

Last update: 2024-11-30 13:53:23 UTC


README

Tests Maintainability Test Coverage GitHub

Susina Configuration Builder is a library to load parameters, from configuration files, and build configuration objects or arrays. It's based on Symfony Config and Propel configuration sub-system.

Supported configuration file formats are:

  • .json via PHP json extension
  • .neon via Nette Neon library
  • .php
  • .xml via PHP SimpleXml, Xml and Dom extensions
  • .yml via Symfony Yaml component

Installation

You can install the library via composer:

composer require susina/config-builder

then you should install the library you need to load your preferred configuration file format:

# Suppose you want to use yaml format
composer require symfony/yaml

Usage

See the documentation site.

Issues

Please, open an issue on Github repository.

Contributing

Fork the repository and submit a pull request. For further information see the documentation site

Licensing

This library is released under Apache 2.0 license