A generic config class for PHP.