<commit_before># [Laravel](https://laravel.com) + [Keen.io](https://keen.io)

Efficiently integrate [Keen.io](https://keen.io) analytics without slowing down your Laravel application.

[![Latest Stable Version](https://poser.pugx.org/frnkly/laravel-keen/version)](https://packagist.org/packages/frnkly/laravel-keen)
[![Build Status](https://travis-ci.org/frnkly/laravel-embeds.png)](https://travis-ci.org/frnkly/laravel-embeds)
[![Total Downloads](https://poser.pugx.org/frnkly/laravel-keen/downloads)](https://packagist.org/packages/frnkly/laravel-keen)
[![License](https://poser.pugx.org/frnkly/laravel-keen/license)](https://packagist.org/packages/frnkly/laravel-keen)

This package provides a light wrapper around the 
[Keen PHP client](https://github.com/keenlabs/KeenClient-PHP), as well as a 
middleware configured to track any request automatically—_after_ each request 
has been fulfilled. That means that as the number of tracked events increase, 
the impact on request time remains virtually non-existant.

## Installation

Install the Laravel + Keen package using [Composer](https://getcomposer.org):

    $ composer require frnkly/laravel-keen

This will also install the Keen PHP client as a dependency.

## Configuration

Your Keen project ID and keys should be defined in the `config/services.php` 
configuration file, but will usually come from the 
[environment configuration](https://laravel.com/docs/configuration):

```php
return [
    // Other 3rd-party Services
    
    'keen' => [
        'id'     => env('KEEN_PROJECT_ID'),
        'master' => env('KEEN_MASTER_KEY'),<commit_msg>Updating Travis URL<commit_after># [Laravel](https://laravel.com) + [Keen.io](https://keen.io)

Efficiently integrate [Keen.io](https://keen.io) analytics without slowing down your Laravel application.

[![Latest Stable Version](https://poser.pugx.org/frnkly/laravel-keen/version)](https://packagist.org/packages/frnkly/laravel-keen)
[![Build Status](https://travis-ci.org/frnkly/laravel-keen.png)](https://travis-ci.org/frnkly/laravel-embeds)
[![Total Downloads](https://poser.pugx.org/frnkly/laravel-keen/downloads)](https://packagist.org/packages/frnkly/laravel-keen)
[![License](https://poser.pugx.org/frnkly/laravel-keen/license)](https://packagist.org/packages/frnkly/laravel-keen)

This package provides a light wrapper around the 
[Keen PHP client](https://github.com/keenlabs/KeenClient-PHP), as well as a 
middleware configured to track any request automatically—_after_ each request 
has been fulfilled. That means that as the number of tracked events increase, 
the impact on request time remains virtually non-existant.

## Installation

Install the Laravel + Keen package using [Composer](https://getcomposer.org):

    $ composer require frnkly/laravel-keen

This will also install the Keen PHP client as a dependency.

## Configuration

Your Keen project ID and keys should be defined in the `config/services.php` 
configuration file, but will usually come from the 
[environment configuration](https://laravel.com/docs/configuration):

```php
return [
    // Other 3rd-party Services
    
    'keen' => [
        'id'     => env('KEEN_PROJECT_ID'),
        'master' => env('KEEN_MASTER_KEY'),
{'fraction_non_alphanumeric': 0.13503422526446796, 'fraction_numerical': 0.0006222775357809583, 'mean_word_length': 4.6902654867256635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 28, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3328357', 'n_tokens_mistral': 1071, 'n_tokens_neox': 1031, 'n_words': 243}