PHP Classes

PHP INI Config: Parse and get configuration values from INI files

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 549 All time: 5,523 This week: 571Up
Version License PHP version Categories
ini-config 0.4.6GNU General Publi...5.2PHP 5, Configuration
Description 

Author

This class can parse and get configuration values from INI files.

It can parse a given INI file and return the values of each of the settings.

The class supports setting defined in nested sections.

Picture of Norbert Kiszka
  Performance   Level  
Name: Norbert Kiszka <contact>
Classes: 2 packages by
Country: Poland Poland
Age: 37
All time rank: 234157 in Poland Poland
Week rank: 178 Up3 in Poland Poland Up

Screenshots (2)  
  • screenshot.gif
  • screenshot.test.ini.gif
  Files folder image Files (13)  
File Role Description
Files folder imagelib (3 files, 3 directories)
Accessible without login Plain text file ChangeLog.txt Doc. Change log
Accessible without login Plain text file LICENSE.txt Lic. GPL v2 license
Accessible without login Plain text file sample_output.txt Output Sample output on cli from test.php + test.ini
Accessible without login Plain text file test.ini Data Example ini config
Accessible without login Plain text file test.php Example Example usage

  Files folder image Files (13)  /  lib  
File Role Description
Files folder imageConf (1 file)
Files folder imageIni (1 file)
Files folder imageString (1 file)
  Plain text file Conf.php Class Front object to get config var(s) or whole section(s)
  Plain text file File.php Class Part of my file library - prepare path (recursive mkdir)
  Plain text file String.php Class lib - String

  Files folder image Files (13)  /  lib  /  Conf  
File Role Description
  Plain text file Exception.php Class Exception for Conf class

  Files folder image Files (13)  /  lib  /  Ini  
File Role Description
  Plain text file Parser.php Class Ini files/strings parser

  Files folder image Files (13)  /  lib  /  String  
File Role Description
  Plain text file Exception.php Class Exception for String class

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  
 0%
Total:549
This week:0
All time:5,523
This week:571Up
User Comments (1)
its gives errors on php.
11 years ago (adnan)
10%Star