<commit_before>---
Leaf/Ini
===

### What is **Leaf/ini** ?
Leaf/ini is a document-based ini-file component for PHP that adopts all features from DOM, SplFileInfo and SplFileObject. The intention of Leaf/ini is to stop the lack of support of the available ini-parser ( including the php commands parse_ini_file and parse_ini_string ), all of them wasn't able to handle multiple entries of the same key inside of a ini-section. The major goal of this component was to build a solid component to access non-strict defined INI-Files like php.ini of the PHP-Package.

### Installation with **Composer**
Leaf/ini is available from github and via composer. Just add `"leaf/ini": "1.0.*@dev"` to your `composer.json`:

    {
        "require": {
            "leaf/ini": "1.0.*@dev"
        }
    }
or use the require-command of composer: `composer require leaf/ini:1.0.*@dev`

> *Notice:* Composer installs the component into the vendor folder located in the same destination as your composer.json. The package-file of this library will force composer to install all files into `<vendor>/leaf/leaf/components/ini/`. This step is required for the autoloading mechanism of composer to resolve the `Leaf\Components\Ini`-namespace properly.

### Requirements and Dependencies
Leaf/ini is compatible with **PHP 5.3** or higher and needs no external libraries or php modules. There is also no compability issue for future changes to `preg_*`-methods, this component is using string streams. The following PHP Classes are used by Leaf/ini and should not be disabled:

 - DOMDocument
 - DOMElement
 - DOMComment
 - SplFileInfo
 - SplFileObject

### Usage / Examples<commit_msg>readme fix<commit_after>---
Leaf/Ini
===

### What is **Leaf/ini** ?
Leaf/ini is a document-based ini-file component for PHP that adopts all features from DOM, SplFileInfo and SplFileObject. The intention of Leaf/ini is to stop the lack of support of the available ini-parser ( including the php commands parse_ini_file and parse_ini_string ), all of them wasn't able to handle multiple entries of the same key inside of a ini-section. The major goal of this component was to build a solid component to access non-strict defined INI-Files like php.ini of the PHP-Package.

### Installation with **Composer**
Leaf/ini is available from github and via composer. Just add `"leaf/ini": "1.0.*@dev"` to your `composer.json`:

    {
        "require": {
            "leaf/ini": "1.0.*@dev"
        }
    }
or use the require-command of composer: `composer require leaf/ini:1.0.*@dev`

> *Notice:* Composer installs the component into the vendor folder located in the same destination as your composer.json. The package-file of this library will force composer to install all files into `<vendor>/leaf/ini/leaf/components/ini/`. This step is required for the autoloading mechanism of composer to resolve the `Leaf\Components\Ini`-namespace properly.

### Requirements and Dependencies
Leaf/ini is compatible with **PHP 5.3** or higher and needs no external libraries or php modules. There is also no compability issue for future changes to `preg_*`-methods, this component is using string streams. The following PHP Classes are used by Leaf/ini and should not be disabled:

 - DOMDocument
 - DOMElement
 - DOMComment
 - SplFileInfo
 - SplFileObject

### Usage / Examples
{'fraction_non_alphanumeric': 0.08390977443609023, 'fraction_numerical': 0.00481203007518797, 'mean_word_length': 3.912850812407681, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1288717', 'n_tokens_mistral': 931, 'n_tokens_neox': 880, 'n_words': 430}