PHP code example of typomedia / ini
1. Go to this page and download the library: Download typomedia/ini library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
typomedia / ini example snippets
use Typomedia\Ini\Parser;
$ini = file_get_contents('tests/Fixtures/Array.ini');
$parser = new Parser();
$array = $parser->parse($ini);
use Typomedia\Ini\Dumper;
$array = ['Section' => ['Property' => 'Value']];
$dumper = new Dumper();
$ini = $dumper->dump($array);