<commit_before>Xabbuh xApi Client
==================

[![Build Status](https://travis-ci.org/xabbuh/xapi-client.png)](https://travis-ci.org/xabbuh/xapi-client)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/xabbuh/xapi-client/badges/quality-score.png?s=769c1e047e4dbd4d5cdce1008098f9965dfb7924)](https://scrutinizer-ci.com/g/xabbuh/xapi-client/)

Client side PHP implementation of the
[Experience API](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md).

Installation
------------

The recommended way to install the xAPI client is using
[Composer](http://getcomposer.org/):

1. Download and install Composer:

        curl -sS http://getcomposer.org/installer | php

   For more details on how to install composer have a look at the official
   [documentation](http://getcomposer.org/doc/00-intro.md).

1. Add the ``xabbuh/xapi-client``, ``xabbuh/xapi-common`` and ``xabbuh/xapi-model``
   dependencies to your project's ``composer.json`` file:

    ```yaml
    {
        "require": {
            "xabbuh/xapi-client": "~1.0@dev",
            "xabbuh/xapi-common": "~1.0@dev",
            "xabbuh/xapi-model": "~1.0@dev"
        }
    }
    ```

1. Install your dependencies:

        php composer.phar install

1. Require Composer's autoloader:

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

Usage
-----

Read the [documentation](doc/index.md) to find out how to use the library.

Issues
------

Report issue in the [issue tracker of the XAPI package](https://github.com/xabbuh/xapi/issues).

License
-------

This package is under the MIT license. See the complete license in the
[LICENSE](LICENSE) file.<commit_msg>update installation instructions<commit_after>Xabbuh xApi Client
==================

[![Build Status](https://travis-ci.org/xabbuh/xapi-client.png)](https://travis-ci.org/xabbuh/xapi-client)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/xabbuh/xapi-client/badges/quality-score.png?s=769c1e047e4dbd4d5cdce1008098f9965dfb7924)](https://scrutinizer-ci.com/g/xabbuh/xapi-client/)

Client side PHP implementation of the
[Experience API](https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md).

Installation
------------

The recommended way to install the xAPI client is using
[Composer](http://getcomposer.org/):

1. Download and install Composer:

        curl -sS http://getcomposer.org/installer | php

   For more details on how to install composer have a look at the official
   [documentation](http://getcomposer.org/doc/00-intro.md).

1. Add ``xabbuh/xapi-client``, ``xabbuh/xapi-common`` and ``xabbuh/xapi-model``
   as dependencies to your project:

    ```bash
    $ composer require --no-update xabbuh/xapi-client "~1.0@dev"
    $ composer require --no-update xabbuh/xapi-common "~1.0@dev"
    $ composer require xabbuh/xapi-model "~1.0@dev"
    ```

1. Require Composer's autoloader:

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

Usage
-----

Read the [documentation](doc/index.md) to find out how to use the library.

Issues
------

Report issue in the [issue tracker of the XAPI package](https://github.com/xabbuh/xapi/issues).

License
-------

This package is under the MIT license. See the complete license in the
[LICENSE](LICENSE) file.
{'fraction_non_alphanumeric': 0.16434108527131783, 'fraction_numerical': 0.02263565891472868, 'mean_word_length': 3.4619640387275243, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6357435', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1101, 'n_words': 251}