Skip to content

A INI config file reader in PHP which returns the content of the INI file as a class hierarchy.

License

Notifications You must be signed in to change notification settings

Eurobertics/Connfetti-INI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connfetti-INI

A INI config file reader in PHP which returns the content of the INI file as a class hierarchy.

Connfetti-INI is a simple INI reader which reads an INI file with a syntax as follows:

configname=configvalue
configname.subconfigname=configvalue2

and returns a class with the hierarchical readonly members of the config variables, for example:

$config = new Config('test.ini');
echo $config->configname;
echo "\n";
echo $config->configname->subconfigname;

Returns:

configvalue
configvalue2

Requires Connfetti-IO for reading the files.

About

A INI config file reader in PHP which returns the content of the INI file as a class hierarchy.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages