SPHPlayground API
SPHPlayground
sphplayground sphplayground

Application configuration

BASIC INFORMATION:

Applications require a centralized place where settings are stored. All the values stored here are required to configure the behavior of the application and to define the resources for other entities of the application. [1]

Application configuration contains tools for storing configuration variables and PHP runtime environment manipulation

Config a general configuration manager

A Config object can be used to store any type of PHP variables. An application can have multiple named singleton configuration objects. These objects are accessible via a static Config::instance() method.

PHP is a runtime PHP environment manager container

PHP utility class handles common PHP configuration related tasks via build-in singleton PHPConfig and named PHPIni instances.