susina/config-builder

Load and build configuration classes

v1.0 2024-09-16 15:46 UTC

This package is auto-updated.

Last update: 2024-11-16 16:11:40 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