<commit_before># response-time
[![Packagist version][packagist-image]][packagist-url]
[![Build Status][travis-image]][travis-url]

> Set `X-Response-Time` to response header

## Install

```sh
$ composer require lara-middleware/response-id
```

## Usage


## License
MIT © [<NAME>](https://github.com/chentsulin)

[packagist-image]: https://img.shields.io/packagist/v/lara-middleware/response-time.svg?style=flat-square
[packagist-url]: https://packagist.org/packages/lara-middleware/response-time
[travis-image]: https://travis-ci.org/lara-middleware/response-time.svg
[travis-url]: https://travis-ci.org/lara-middleware/response-time<commit_msg>add readme<commit_after># response-time
[![Packagist version][packagist-image]][packagist-url]
[![Build Status][travis-image]][travis-url]

> Set `X-Response-Time` to response header

## Install

```sh
$ composer require lara-middleware/response-time
```

or add

`"lara-middleware/response-time": "dev-master"`

to `package.json` > `"require"`

## Usage

#### For all routes

add `'LaraMiddleware\ResponseTime\ResponseTime'` to

`app/Http/Kernel.php`'s `$middleware`

#### For specific routes

add `'response-time' => 'LaraMiddleware\ResponseTime\ResponseTime',` to

`app/Http/Kernel.php`'s `$routeMiddleware`

Then,

```php
Route::get('some-specific', ['middleware' => 'response-time', function()
{
    //
}]);
```

## License
MIT © [<NAME>](https://github.com/chentsulin)

[packagist-image]: https://img.shields.io/packagist/v/lara-middleware/response-time.svg?style=flat-square
[packagist-url]: https://packagist.org/packages/lara-middleware/response-time
[travis-image]: https://travis-ci.org/lara-middleware/response-time.svg
[travis-url]: https://travis-ci.org/lara-middleware/response-time
{'fraction_non_alphanumeric': 0.19094036697247707, 'fraction_numerical': 0.0, 'mean_word_length': 5.535580524344569, 'pattern_counts': {'":': 1, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 10, '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': '7332202', 'n_tokens_mistral': 645, 'n_tokens_neox': 644, 'n_words': 88}