<commit_before># Unofficial BoaCompra billing PHP library

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/Benoth/boa-compra.svg?style=flat-square)](https://travis-ci.org/Benoth/boa-compra)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/Benoth/boa-compra.svg?style=flat-square)](https://scrutinizer-ci.com/g/Benoth/boa-compra/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/Benoth/boa-compra.svg?style=flat-square)](https://scrutinizer-ci.com/g/Benoth/boa-compra)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/d6070e0b-2008-42b7-a2ed-e7189815fd91/mini.png)](https://insight.sensiolabs.com/projects/d6070e0b-2008-42b7-a2ed-e7189815fd91)

This package is compliant with [PSR-1], [PSR-2] and [PSR-4]. If you notice compliance oversights,
please send a patch via pull request.

[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md

## Usage

### Create a payment

``` php
$vsi = new VirtualStoreIdentification($yourStoreId, $yourSecretKey);<commit_msg>Library requirements in README<commit_after># Unofficial BoaCompra billing PHP library

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/Benoth/boa-compra.svg?style=flat-square)](https://travis-ci.org/Benoth/boa-compra)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/Benoth/boa-compra.svg?style=flat-square)](https://scrutinizer-ci.com/g/Benoth/boa-compra/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/Benoth/boa-compra.svg?style=flat-square)](https://scrutinizer-ci.com/g/Benoth/boa-compra)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/d6070e0b-2008-42b7-a2ed-e7189815fd91/mini.png)](https://insight.sensiolabs.com/projects/d6070e0b-2008-42b7-a2ed-e7189815fd91)

This package is compliant with [PSR-1], [PSR-2] and [PSR-4]. If you notice compliance oversights,
please send a patch via pull request.

[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md

## Requirements

The following versions of PHP are supported:

* PHP 5.4
* PHP 5.5
* PHP 5.6
* HHVM

The following extensions are also required:

* curl
* mbstring


## Usage

### Create a payment

``` php
$vsi = new VirtualStoreIdentification($yourStoreId, $yourSecretKey);
{'fraction_non_alphanumeric': 0.17504332755632582, 'fraction_numerical': 0.038821490467937605, 'mean_word_length': 5.399113082039912, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, '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': '5336659', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1115, 'n_words': 127}