2017 © Pedro Peláez
 

library config

Jazz framework config component

image

qwant50/config

Jazz framework config component

  • Saturday, March 5, 2016
  • by qwant50
  • Repository
  • 1 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Jazz framework config component README

ITCourses framework config component, (*1)

Installation

The preferred way to install this ITCourses framework config component is through composer., (*2)

Either run, (*3)

php composer.phar require "qwant50/config"

or add, (*4)

"qwant50/config": "~3.*.*"

to the require section of your composer.json., (*5)

Usage

get all data (php | ini | yaml formats). Result file name to config file must be /path/to/config/development or /path/to/config/production

$config = new Config('/path/to/configs');
$allConfigs = $config->getData();

get component's data

$config = new Config('/path/to/configs');
$data = $config->getData($fullFileName);
var_dump($config->getBasePath());
var_dump($data);

save configuration data (support only '.php' file)

into a file with $key filename, (*6)

$config->saveConfig($key);

or into a file with $fullFileName where $fullFileName it's a fileName + .php as extension, (*7)

$config->saveConfig($key, $fullFileName);

The Versions

05/03 2016

dev-master

9999999-dev

Jazz framework config component

  Sources   Download

MIT

The Development Requires

by Sergey Malahov

14/02 2016

3.0.1

3.0.1.0

ITCourses framework config component

  Sources   Download

MIT

The Development Requires

by Sergey Malahov

08/02 2016

2.0.0

2.0.0.0

ITCourses framework config component

  Sources   Download

MIT

The Development Requires

by Sergey Malahov

08/02 2016

1.0.0

1.0.0.0

ITCourses framework config component

  Sources   Download

MIT

The Development Requires

by Sergey Malahov