2017 © Pedro Peláez
 

library config

Configuration Layer

image

packaged/config

Configuration Layer

  • Tuesday, June 5, 2018
  • by bajbnet
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36,642 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 2 % Grown

The README.md

Configuration Package

Latest Stable Version Total Downloads Coverage Status, (*1)

General Usage, (*2)

$configProvider = new \Packaged\Config\ConfigProvider();

$configProvider->addItem("database", "hostname", "tester.local");
$configProvider->addItem("database", "username", "root");

// Retrieve the section and then pull the item specifically
// This method is great if you want to pass the whole section
// into an object to configure it
$section  = $configProvider->getSection("database");
$hostname = $section->getItem("hostname", "localhost");
echo "Located '$hostname' as the hostname from a section item get\n";

//Retrieve a single config item directly from the provider
// This method is useful for one off retrievals of an item
$username = $configProvider->getItem("database", "username", "brooke");
echo "Located '$username' as the username from a single item get\n";

The Versions

05/06 2018

dev-master

9999999-dev

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

05/06 2018

1.3.1

1.3.1.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

04/09 2017

1.3.0

1.3.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

02/09 2017

dev-cached-ini

dev-cached-ini

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

23/07 2015

1.2.1

1.2.1.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

23/07 2015

1.2.0

1.2.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

05/05 2015

1.1.0

1.1.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

19/03 2015

1.0.0

1.0.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

13/10 2014

0.4.0

0.4.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

09/09 2014

0.3.0

0.3.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

19/08 2014

0.2.0

0.2.0.0

Configuration Layer

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

04/07 2014

0.1.0

0.1.0.0

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

03/03 2014

0.0.2

0.0.2.0

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

09/02 2014

0.0.1

0.0.1.0

  Sources   Download

MIT

The Requires

  • php >=5.4.0