Ini Parser and Builder for PHP
Add codegun/ini
to composer.json
then install with composer.phar install
All the classes under CodeGun\Ini
namespace
- Parser
- Builder
$builder = new \CodeGun\Ini\Builder(array(
'a' => 'd',
'b' => array('test'=> 'c'),
'database' => array(
'default' => array(
'name' => 'db',
'host' => 'master.db',
'ip' => 'dd',
)
),
'array' => array('a', '1', 3),
));
echo $builder;