<commit_before># hoppinger/config-kernel

A Symfony [HTTP Kernel](https://github.com/symfony/HttpKernel) implementation to use with Hoppinger's cnf/target configuration paradigm.

[![Build Status](https://travis-ci.org/hoppinger/config-kernel.png?branch=master)](https://travis-ci.org/hoppinger/config-kernel)

## Installation

The recommended way to install this is with [Composer](http://getcomposer.org/). 
Just add `hoppinger/config-kernel` to your composer.json by running:

``` bash
$ php composer.phar require hoppinger/config-kernel
```

## Usage

When using the [Symfony Standard Edition](https://github.com/symfony/symfony-standard), make `app/AppKernel.php` and `web/app.php` look something like this:

```php
// app/AppKernel.php

use Hop\Config\Kernel\Kernel;

class AppKernel extends Kernel
{
	/* .... */
}
```

```php
// web/app.php
<commit_msg>Fixed usage examples<commit_after># hoppinger/config-kernel

A Symfony [HTTP Kernel](https://github.com/symfony/HttpKernel) implementation to use with Hoppinger's cnf/target configuration paradigm.

[![Build Status](https://travis-ci.org/hoppinger/config-kernel.png?branch=master)](https://travis-ci.org/hoppinger/config-kernel)

## Installation

The recommended way to install this is with [Composer](http://getcomposer.org/). 
Just add `hoppinger/config-kernel` to your composer.json by running:

``` bash
$ php composer.phar require hoppinger/config-kernel
```

## Usage

When using the [Symfony Standard Edition](https://github.com/symfony/symfony-standard), make `app/AppKernel.php` and `web/app.php` look something like this:

```php
// app/AppKernel.php

use Hop\Config\Kernel\Kernel;

class AppKernel extends Kernel
{
	/* .... */
}
```

```php
// web/app.php
use Hop\Config\Target\Target;

{'fraction_non_alphanumeric': 0.14911781445645989, 'fraction_numerical': 0.0, 'mean_word_length': 4.634615384615385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '3122659', 'n_tokens_mistral': 589, 'n_tokens_neox': 562, 'n_words': 132}