PHP Classes

Config4all: Load configuration files in multiple formats

Recommend this page to a friend!
  Info   View files View files (26)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (3 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 596 This week: 4All time: 5,208 This week: 89Up
Version License PHP version Categories
config4all 2.1.11MIT/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
  Performance   Level  
Name: Andre Roque Filipe <contact>
Classes: 9 packages by
Country: Portugal Portugal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Files folder imagetests (2 files, 1 directory)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data

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

  Files folder image Files  /  src  /  Exception  
File Role Description
  Plain text file FileNotFound.php Class Class source
  Plain text file FileNotReadable.php Class Class source
  Plain text file FileNotWritable.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)
  Plain text file ConfigTest.php Class Class source
  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:596
This week:4
All time:5,208
This week:89Up