badbreze/simple-ini

Simple Ini Manipulation Class for PHP

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/badbreze/simple-ini

dev-master 2016-05-17 09:40 UTC

This package is not auto-updated.

Last update: 2025-09-28 00:50:46 UTC


README

Total Downloads

The SimpleIni Utility is a small INI file tool for read/write values inside INI file easy.

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.

hello = world

@author Damian Gomez

Project Page