<commit_before>saxulum webprofiler provider
===========================

**works with plain silex-php**

[![Build Status](https://api.travis-ci.org/saxulum/saxulum-webprofiler-provider.png?branch=master)](https://travis-ci.org/saxulum/saxulum-webprofiler-provider)
[![Total Downloads](https://poser.pugx.org/saxulum/saxulum-webprofiler-provider/downloads.png)](https://packagist.org/packages/saxulum/saxulum-webprofiler-provider)
[![Latest Stable Version](https://poser.pugx.org/saxulum/saxulum-webprofiler-provider/v/stable.png)](https://packagist.org/packages/saxulum/saxulum-webprofiler-provider)

Features
--------

* Enhance the default silex web profiler with database informations

Requirements
------------

* php >=5.3
* dominikzogg/doctrine-orm-manager-registry-provider ~1.2
* jdorn/sql-formatter ~1.1
* psr/log 1.0.*
* silex/silex ~1.0
* silex/web-profiler ~1.0
* symfony/doctrine-bridge ~2.3


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

The [SilexWebProfiler][1] from silex itself is needed!

```php
$app->register(new Silex\Provider\WebProfilerServiceProvider(), array(
    'profiler.cache_dir' => __DIR__.'/../cache/profiler',
    'profiler.mount_prefix' => '/_profiler', // this is the default
));
```
<commit_msg>add code quality logo<commit_after>saxulum webprofiler provider
===========================

**works with plain silex-php**

[![Build Status](https://api.travis-ci.org/saxulum/saxulum-webprofiler-provider.png?branch=master)](https://travis-ci.org/saxulum/saxulum-webprofiler-provider)
[![Total Downloads](https://poser.pugx.org/saxulum/saxulum-webprofiler-provider/downloads.png)](https://packagist.org/packages/saxulum/saxulum-webprofiler-provider)
[![Latest Stable Version](https://poser.pugx.org/saxulum/saxulum-webprofiler-provider/v/stable.png)](https://packagist.org/packages/saxulum/saxulum-webprofiler-provider)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/saxulum/saxulum-webprofiler-provider/badges/quality-score.png?s=4e315f6511ecfa00815ac2fe232f6117823b7699)](https://scrutinizer-ci.com/g/saxulum/saxulum-webprofiler-provider/)

Features
--------

* Enhance the default silex web profiler with database informations

Requirements
------------

* php >=5.3
* dominikzogg/doctrine-orm-manager-registry-provider ~1.2
* jdorn/sql-formatter ~1.1
* psr/log 1.0.*
* silex/silex ~1.0
* silex/web-profiler ~1.0
* symfony/doctrine-bridge ~2.3


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

The [SilexWebProfiler][1] from silex itself is needed!

```php
$app->register(new Silex\Provider\WebProfilerServiceProvider(), array(
    'profiler.cache_dir' => __DIR__.'/../cache/profiler',
    'profiler.mount_prefix' => '/_profiler', // this is the default
));
```

{'fraction_non_alphanumeric': 0.1955788684900712, 'fraction_numerical': 0.021730985387785687, 'mean_word_length': 4.754310344827586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 14, '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': '2663895', 'n_tokens_mistral': 1008, 'n_tokens_neox': 1000, 'n_words': 124}