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

Provides better INI parsing and rendering

Package info

github.com/indigophp/ini

Homepage

pkg:composer/indigophp/ini

Statistics

Installs: 711โ€‰410

Dependents: 3

Suggesters: 0

Stars: 3

Open Issues: 1

v0.2.0 2016-01-04 01:21 UTC

Requires

  • php: >=5.4.5

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 182167ee30280b8f875aac252d6c8334f4d9aec2

  • Mรกrk Sรกgi-Kazรกr <mark.sagikazar.woop@gmail.com>

parserinirenderer

This package is auto-updated.

Last update: 2021-11-24 09:09:59 UTC


README

๐Ÿ‘ 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.