This package is abandoned and no longer maintained. No replacement package was suggested.

Provides a series of INI controller classes for parsing, editing, and creating INI files.

v1.0.1 2017-07-12 19:21 UTC

This package is auto-updated.

Last update: 2022-10-13 04:31:38 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads License StyleCI Build Status

A PHP library to provide better handling of parsing, editing, and writing INI files

Please note this project exists primarily as a learning experience. Any and all constructive feedback is welcome and requested.

Special thanks to the following people for their help and feedback with this project:

Version 1.0.0 - First full release

Up to date (Usually) documentation can be found on the github project's wiki

Requirements

  • PHP 7.0 or greater
  • Composer (Technically optional. Highly recommended for installation)

Installation

For integration with other projects

Via composer (Recommended):

  • Execute the following composer command in your project directory: composer require sierrakomodo/inilib OR Modify your composer.json file to include sierrakomodo/inilib under the require section
  • In your PHP files, add the following use statement: use SierraKomodo/INILib/IniFile

Manual (For non-release or earlier versions, or people that don't like composer):

  • Download the release version of your choice (Latest release is always recommended)
  • Copy the contents of the src/ directory to a location of your choice
  • Use whatever autoloader or require/include method best fits your project
  • In your PHP files, add the following use statement: use SierraKomodo/INILib/IniFile

For development

Via composer:

  • Execute the following composer command in your project directory: composer install sierrakomodo/inilib

Manual (For non-release or earlier versions):

  • Download the release version or branch of your choice (Latest release is always recommended)
  • Extract to your project directory