gorka/config

Configuration management

v1.0.0 2015-05-26 16:40 UTC

README

⚠️ This project is unmaintained and might eventually be removed. Use it at your own risk.

Configuration management

Configuration management for PHP

Build Status Code Coverage

Example

Given a yaml config file, allows accessing config properties with dot notation interface:

mongo:
  user: gorka
  pass: s3cr3t
<?php

$config = new Config('config.yml');
$config->get('mongo.user');