<commit_before>Config Component
=====================
`Config` component creates `ConfigObject` instances from config files.
Currently supported formats: INI, JSON, PHP, YAML and custom drivers.

Install the component
---------------------
The best way to install the component is using Composer.

```json
{
    "require": {
        "webiny/config": "dev-master"
    }
}
```
For additional versions of the package, visit the [Packagist page](https://packagist.org/packages/webiny/config).
Optionally you can add `"minimum-stability": "dev"` flag to your composer.json.

Once you have your `composer.json` file in place, just run the install command.

    $ php composer.phar install

To learn more about Composer, and how to use it, please visit [this link](https://getcomposer.org/doc/01-basic-usage.md).

Alternatively, you can also do a `git checkout` of the repo.

## Usage

To use `Config` component you will need a config file.

Example INI:

    [properties]
    a = "value"
    b.name = "name"
    b.value = "value"

Here is an example of creating a `ConfigObject`:
```php<commit_msg>Updated composer dependencies<commit_after>Config Component
=====================
`Config` component creates `ConfigObject` instances from config files.
Currently supported formats: INI, JSON, PHP, YAML and custom drivers.

Install the component
---------------------
The best way to install the component is using Composer.

```json
{
    "require": {
        "webiny/config": "1.0.*"
    }
}
```
For additional versions of the package, visit the [Packagist page](https://packagist.org/packages/webiny/config).

Once you have your `composer.json` file in place, just run the install command.

    $ php composer.phar install

To learn more about Composer, and how to use it, please visit [this link](https://getcomposer.org/doc/01-basic-usage.md).

Alternatively, you can also do a `git checkout` of the repo.

## Usage

To use `Config` component you will need a config file.

Example INI:

    [properties]
    a = "value"
    b.name = "name"
    b.value = "value"

Here is an example of creating a `ConfigObject`:
```php
{'fraction_non_alphanumeric': 0.13900709219858157, 'fraction_numerical': 0.0028368794326241137, 'mean_word_length': 3.5505376344086024, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3966749', 'n_tokens_mistral': 632, 'n_tokens_neox': 602, 'n_words': 245}