<commit_before>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/OP3Nvoice/op3nvoice-php/badges/quality-score.png?s=461ba0663e453941a097d9b8049ba865c4512617)](https://scrutinizer-ci.com/g/OP3Nvoice/op3nvoice-php/)

PHP Helper Library for OP3Nvoice
================================

### Installing via Composer

The recommended way to install the OP3Nvoice library is through [Composer](http://getcomposer.org).

```bash
# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add OP3Nvoice as a dependency
php composer.phar require op3nvoice/op3nvoice-helper dev-master@dev
```

or alternatively, you can add it directly to your `composer.json` file.

```json
{
    "require": {
        "op3nvoice/op3nvoice-helper": "dev-master"
    }
}
```

Then install the libraries via Composer:

```bash
composer install
```

Finally, require Composer's autoloader in your PHP script:

```php
require __DIR__.'/vendor/autoload.php';
```

### Usage

To begin using this library, initialize the OP3Nvoice object with your API key:<commit_msg>plug @dev in case their avg user is on stable composer.json setting by default<commit_after>[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/OP3Nvoice/op3nvoice-php/badges/quality-score.png?s=461ba0663e453941a097d9b8049ba865c4512617)](https://scrutinizer-ci.com/g/OP3Nvoice/op3nvoice-php/)

PHP Helper Library for OP3Nvoice
================================

### Installing via Composer

The recommended way to install the OP3Nvoice library is through [Composer](http://getcomposer.org).

```bash
# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add OP3Nvoice as a dependency
php composer.phar require op3nvoice/op3nvoice-helper dev-master@dev
```

or alternatively, you can add it directly to your `composer.json` file.

```json
{
    "require": {
        "op3nvoice/op3nvoice-helper": "dev-master@dev"
    }
}
```

Then install the libraries via Composer:

```bash
composer install
```

Finally, require Composer's autoloader in your PHP script:

```php
require __DIR__.'/vendor/autoload.php';
```

### Usage

To begin using this library, initialize the OP3Nvoice object with your API key:
{'fraction_non_alphanumeric': 0.14404049700874366, 'fraction_numerical': 0.039576622181316155, 'mean_word_length': 5.022160664819944, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '1474971', 'n_tokens_mistral': 794, 'n_tokens_neox': 721, 'n_words': 188}