2017 © Pedro Peláez
 

library siteconfig

XML/INI-based site configuration for PHP.

image

crazedsanity/siteconfig

XML/INI-based site configuration for PHP.

  • Thursday, August 31, 2017
  • by crazedsanity
  • Repository
  • 1 Watchers
  • 0 Stars
  • 139 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

siteconfig

XML/INI-based site configuration for PHP., (*1)

How do I use it?

Create an XML or INI file for your site's configuration. Values from one section can be automatically used in other sections using place holders in the form {SECTION/VALUE}., (*2)

The configuration can be loaded as constants or into the GLOBALS array simply by calling a method, make_section_constants() and make_section_globals(), respectively., (*3)

Special placeholders can be used as well. The following placeholders are supported: * {_DIRNAMEOFFILE_} (directory to the containing configuration file) * {_CONFIGFILE_} (full path to the containing configuration file) * {_THISFILE_} (same as DIRNAMEOFFILE) * {_APPURL_} (value of $_SERVER['SCRIPT_NAME']), (*4)

The Versions

31/08 2017

dev-master

9999999-dev http://www.crazedsanity.com

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

php dry oaoo

08/11 2016

v0.2.2

0.2.2.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

07/11 2016

v0.2.1

0.2.1.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

12/05 2015

v0.2.0

0.2.0.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

08/05 2015

v0.1.2

0.1.2.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

08/05 2015

v0.1.1

0.1.1.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires

 

08/05 2015

v0.1.0

0.1.0.0

XML/INI-based site configuration for PHP.

  Sources   Download

MIT

The Requires