samburns/config-file-parser

2.0.0 2015-12-08 17:05 UTC

This package is auto-updated.

Last update: 2024-11-24 04:16:30 UTC


README

Build Status Scrutinizer Code Quality Coverage Status

Config File Parser

Creates arrays based on config files. Works with YAML, JSON, .ini files and PHP 'return array' files. Use as follows:

$parser = new \SamBurns\ConfigFileParser\ConfigFileParser();
$fileContentsAsArray = $parsableFileFactory->parseConfigFile($pathToFileOfSupportedType);