<commit_before># Analytics

Port of Laravel 3 bundle [lordcoste/analytics-s2s](https://github.com/lordcoste/analytics-s2s) for Laravel 4

[![Build Status](https://travis-ci.org/thujohn/analytics-l4.png?branch=master)](https://travis-ci.org/thujohn/analytics-l4)


## Requirements

You need [bitgandtter/google-api](https://github.com/bitgandtter/google-api)

Update your composer.json with :

    "bitgandtter/google-api": "dev-master"


## Installation

Add `thujohn/analytics` to `composer.json`.

    "thujohn/analytics": "dev-master"
    
Run `composer update` to pull down the latest version of Analytics.

Now open up `app/config/app.php` and add the service provider to your `providers` array.

    'providers' => array(
        'Thujohn\Analytics\AnalyticsServiceProvider',
    )

Now add the alias.

    'aliases' => array(
        'Analytics' => 'Thujohn\Analytics\AnalyticsFacade',
    )<commit_msg>Removed unneeded requirements section "bitgandtter/google-api" auto-loaded<commit_after># Analytics

Port of Laravel 3 bundle [lordcoste/analytics-s2s](https://github.com/lordcoste/analytics-s2s) for Laravel 4

[![Build Status](https://travis-ci.org/thujohn/analytics-l4.png?branch=master)](https://travis-ci.org/thujohn/analytics-l4)


## Installation

Add `thujohn/analytics` to `composer.json`.

    "thujohn/analytics": "dev-master"
    
Run `composer update` to pull down the latest version of Analytics.

Now open up `app/config/app.php` and add the service provider to your `providers` array.

    'providers' => array(
        'Thujohn\Analytics\AnalyticsServiceProvider',
    )

Now add the alias.

    'aliases' => array(
        'Analytics' => 'Thujohn\Analytics\AnalyticsFacade',
    )
{'fraction_non_alphanumeric': 0.1335676625659051, 'fraction_numerical': 0.007029876977152899, 'mean_word_length': 4.023529411764706, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 7, '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': '1807841', 'n_tokens_mistral': 607, 'n_tokens_neox': 587, 'n_words': 125}