PHP Classes

Config4all: Load configuration files in multiple formats

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 606 This week: 1All time: 5,159 This week: 35Up
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 is available for providing paid consulting. Contact Andre Roque Filipe .
Classes: 9 packages by
Country: Portugal Portugal
Age: 32
All time rank: 122815 in Portugal Portugal
Week rank: 41 Up2 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (26)  
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 (26)  /  src  
File Role Description
Files folder imageException (6 files)
  Plain text file Config.php Class Class source

  Files folder image Files (26)  /  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 (26)  /  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 (26)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:606
This week:1
All time:5,159
This week:35Up