<commit_before># Static Files StackPHP Middleware

[![Build Status](https://travis-ci.org/phramz/staticfiles-middleware.svg)](https://travis-ci.org/phramz/staticfiles-middleware) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/?branch=master) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/e3ae1420-edd0-4087-9d23-80f2323ceaa5/mini.png)](https://insight.sensiolabs.com/projects/e3ae1420-edd0-4087-9d23-80f2323ceaa5)

This is a StackPHP middleware for the `phramz/staticfile` webserver (https://github.com/phramz/staticfile)

## Install

Install with Composer:

```bash
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require phramz/staticfiles-middleware
```

## Example

```php
<?php<commit_msg>fixed typo<commit_after># Static Files StackPHP Middleware

[![Build Status](https://travis-ci.org/phramz/staticfiles-middleware.svg)](https://travis-ci.org/phramz/staticfiles-middleware) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/phramz/staticfiles-middleware/?branch=master) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/e3ae1420-edd0-4087-9d23-80f2323ceaa5/mini.png)](https://insight.sensiolabs.com/projects/e3ae1420-edd0-4087-9d23-80f2323ceaa5)

This is a StackPHP middleware for the `phramz/staticfile` webserver (https://github.com/phramz/staticfiles)

## Install

Install with Composer:

```bash
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require phramz/staticfiles-middleware
```

## Example

```php
<?php
{'fraction_non_alphanumeric': 0.16460513796384396, 'fraction_numerical': 0.038058991436726926, 'mean_word_length': 6.302083333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 20, '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': '5669205', 'n_tokens_mistral': 853, 'n_tokens_neox': 786, 'n_words': 78}