2017 © Pedro Peláez
 

library config-reader

image

ultra-lite/config-reader

  • Tuesday, February 14, 2017
  • by Sam-Burns
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality Latest Stable Version MIT Licence, (*1)

logo Ultra-Lite Config Reader

An ultra-lightweight config file parser., (*2)

Usage

$configReader = new \UltraLite\ConfigReader\ConfigReader;
$array = $configReader->getConfigArray('/path/to/file.json');

Error Handling

If there is a problem, it (only) throws an \UltraLite\ConfigReader\Exception\ConfigReaderException of some kind., (*3)

Supported File Types

.json, .ini and .php 'return array' files are supported. To be part of the UltraLite project, it is quite lightweight, but it can be extended to support other file types. Just come up with your own implementation of \UltraLite\ConfigReader\FileParser:, (*4)

$customFileParser = new MyXmlFileParser();
$configReader->addFileParser($customFileParser);
$array = $configReader->getConfigArray('/path/to/file.xml');

The Versions

14/02 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

14/02 2017

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

14/02 2017

dev-extensible

dev-extensible

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires

06/01 2016

0.1.0

0.1.0.0

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

The Development Requires