library simple-ini
Simple Ini Manipulation Class for PHP
badbreze/simple-ini
Simple Ini Manipulation Class for PHP
- Tuesday, May 17, 2016
- by badbreze
- Repository
- 0 Watchers
- 0 Stars
- 10 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Simple Ini Files Utility
, (*1)
The SimpleIni Utility is a small INI file tool for read/write values inside INI file easy., (*2)
Installation
Using Composer
composer require badbreze/simple-ini
Example
use IniUtil\SimpleIni;
require_once "vendor/autoload.php";
$ini = new SimpleIni(__DIR__.'/helloworld.ini');
$hello = $ini->getVariable('hello');
echo($hello);
//result: world
In this example we have a file called "helloworld.ini" with the following content., (*3)
hello = world
@author Damian Gomez, (*4)
Project Page, (*5)