2017 © Pedro Peláez
 

library configuration

Gephart Configuration Component

image

gephart/configuration

Gephart Configuration Component

  • Monday, April 2, 2018
  • by MichalKatuscak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 452 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

Gephart Configuration

php, (*1)

Dependencies

  • PHP >= 7.1

Instalation

composer require gephart/configuration

Basic using

/config/my.json, (*2)

/index.php, (*3)

$configuration = new \Gephart\Configuration\Configuration();
$configuration->setDirectory(__DIR__ . "/config");
$my_configuration = $configuration->get("my");
// Array data from my.json

Usign with gephart/dependency-injection

$container = new \Gephart\DependencyInjection\Container();
$configuration = $container->get(\Gephart\Configuration\Configuration::class);
$configuration->setDirectory(__DIR__ . "/config");
// Next code (routing etc...)

The Versions

02/04 2018
02/10 2017

0.5

0.5.0.0 https://github.com/gephart/configuration

Gephart Configuration Component

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

04/09 2017

0.4

0.4.0.0 https://github.com/gephart/configuration

Gephart Configuration Component

  Sources   Download

MIT

The Requires

  • php >=7.1

 

09/03 2017

0.2

0.2.0.0 https://github.com/gephart/configuration

Gephart Configuration Component

  Sources   Download

MIT

The Requires

  • php >=7.0

 

09/03 2017

0.1.1

0.1.1.0 https://github.com/gephart/configuration

Gephart Configuration Component

  Sources   Download

MIT

The Requires

  • php >=7.0

 

11/02 2017

0.1

0.1.0.0 https://github.com/gephart/configuration

Gephart Configuration Component

  Sources   Download

MIT

The Requires

  • php >=7.0