<commit_before># Alchemy - Rest bundle 

[![Build Status](https://travis-ci.org/alchemy-fr/rest-bundle.svg?branch=master)](https://travis-ci.org/alchemy-fr/rest-bundle)
[![Code Coverage](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/?branch=master)

## Features

- Provides automatic date parameter parsing using a predefined format and timezone
- Provides automatic sort and pagination parameter parsing
- Provides standardized error responses in AJAX/JSON contexts

## Configuration

Enable the bundle by adding it to the app kernel.

By default, all listeners are enabled. You can add the following section to your `config.yml` to alter the behavior
of the listeners:

*Note* The following configuration matches the default settings
<commit_msg>Update badges<commit_after># Alchemy - Rest bundle 

[![License](https://img.shields.io/packagist/l/alchemy/rest-bundle.svg?style=flat-square)](https://github.com/alchemy-fr/rest-bundle/LICENSE)
[![Packagist](https://img.shields.io/packagist/v/alchemy/rest-bundle.svg?style=flat-square)](https://packagist.org/packages/alchemy/rest-bundle)
[![Travis](https://img.shields.io/travis/alchemy-fr/rest-bundle.svg?style=flat-square)](https://travis-ci.org/alchemy-fr/rest-bundle)
[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/alchemy-fr/rest-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/?branch=master)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/alchemy-fr/rest-bundle.svg?style=flat-square)](https://scrutinizer-ci.com/g/alchemy-fr/rest-bundle/)
[![Packagist](https://img.shields.io/packagist/dt/alchemy/rest-bundle.svg?style=flat-square)](https://packagist.org/packages/alchemy/rest-bundle/stats)

## Features

- Provides automatic date parameter parsing using a predefined format and timezone
- Provides automatic sort and pagination parameter parsing
- Provides standardized error responses in AJAX/JSON contexts

## Configuration

Enable the bundle by adding it to the app kernel.

By default, all listeners are enabled. You can add the following section to your `config.yml` to alter the behavior
of the listeners:

*Note* The following configuration matches the default settings

{'fraction_non_alphanumeric': 0.141010101010101, 'fraction_numerical': 0.0, 'mean_word_length': 5.447916666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, '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': '1232562', 'n_tokens_mistral': 838, 'n_tokens_neox': 785, 'n_words': 157}