PHP Classes
elePHPant
Icontem

Config4all: Load configuration files in multiple formats

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (19)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-02-24 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 547 This week: 1All time: 5,103 This week: 1,242Up
Version License PHP version Categories  
config4all 2.1.0MIT/X Consortium ...5.4PHP 5, Configuration
Description Author  

This class can load configuration files in multiple formats.

It can load and parse configuration files in formats like PHP scripts, XML, INI, JSON and YML.

The class can load multiple files at once specifying all the configuration file names or file name patterns with wildcards to match multiple files.

The class can also get or set values of all or specific configuration values.

Picture of Andre Roque Filipe
Name: Andre Roque Filipe <contact>
Classes: 6 packages by
Country: Portugal Portugal
Age: 22
All time rank: 147821 in Portugal Portugal
Week rank: 391 Up5 in Portugal Portugal Up

  Files folder image Files  
File Role Description
Files folder imagesrc (2 files, 1 directory)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text

  Files folder image Files  /  src  
File Role Description
Files folder imageException (4 files)
  Plain text file Config.php Class Class source
  Plain text file Parser.php Class Class source

  Files folder image Files  /  src  /  Exception  
File Role Description
  Plain text file FileNotFound.php Class Class source
  Plain text file ParseError.php Class Class source
  Plain text file UnsuportedByServer.php Class Class source
  Plain text file UnsupportedFileType.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageconfigs (10 files)
  Accessible without login HTML file index.php Test Unit test script

  Files folder image Files  /  tests  /  configs  
File Role Description
  Accessible without login Plain text file config.ini Data Auxiliary data
  Accessible without login Plain text file config.json Data Auxiliary data
  Accessible without login Plain text file config.php Aux. Auxiliary script
  Accessible without login Plain text file config.xml Data Auxiliary data
  Accessible without login Plain text file config.yml Data Auxiliary data
  Accessible without login Plain text file database.ini Data Auxiliary data
  Accessible without login Plain text file database.json Data Auxiliary data
  Accessible without login Plain text file database.php Aux. Auxiliary script
  Accessible without login Plain text file database.xml Data Auxiliary data
  Accessible without login Plain text file database.yml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:547All time:5,103
 This week:1This week:1,242Up