Sitelet https://github.com/indigophp/ini
Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Repository files navigation

Ini Tools

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Provides better INI parsing and rendering.

Install

Via Composer

$ composer require indigophp/ini

Usage

Features:

  • Throws exceptions instead of errors
  • Converts special values (integer, boolean values)
  • Renders an array as INI string
  • Control rendered output by passing flags to the renderer

Testing

$ composer test

Credits

This library is heavily inspired by piwik/ini.

Differences:

  • License
  • File actions are not available in this library, that's your responsibility
  • Fallback implementation is provided by a transparent compatibility layer (WIP)
  • Provides type conversion like in PHP 5.6.1
  • Provides different ways for rendering array and boolean values
  • Parser always uses raw scanner mode

License

The MIT License (MIT). Please see License File for more information.

About

Provides better INI parsing and rendering

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages