<commit_before># h4cc/stack-psr7-bridge


[StackPHP](http://stackphp.com/) Middleware for using Symfony HttpKernel Applicationsand PSR-7 Application transparent.

[![Build Status](https://travis-ci.org/h4cc/stack-psr7-bridge.svg)](https://travis-ci.org/h4cc/stack-psr7-bridge)
[![HHVM Status](https://img.shields.io/hhvm/h4cc/stack-psr7-bridge.svg)](http://hhvm.h4cc.de/package/h4cc/stack-psr7-bridge)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/badges/quality-score.png)](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/)
[![Code Coverage](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/badges/coverage.png)](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/)
[![Project Status](http://stillmaintained.com/h4cc/stack-psr7-bridge.png)](http://stillmaintained.com/h4cc/stack-psr7-bridge)


This Middleware tries to make using Symfony HttpKernel Application and PSR-7 as easy as possible.

Wrapped applications can be:

- Any Symfony HttpKernel
- Any Callback expecting `function(RequestInterface $request, ResponseInterface $response, $next = null)`

It does not matter what kind of application is wrapped, the bridge will convert incoming requests and outgoing responses accordingly
to the used interface.

The implementation this middleware is based on is [https://github.com/symfony/psr-http-message-bridge](https://github.com/symfony/psr-http-message-bridge).<commit_msg>Removed stillmaintained badge.<commit_after># h4cc/stack-psr7-bridge


[StackPHP](http://stackphp.com/) Middleware for using Symfony HttpKernel Applicationsand PSR-7 Application transparent.

[![Build Status](https://travis-ci.org/h4cc/stack-psr7-bridge.svg)](https://travis-ci.org/h4cc/stack-psr7-bridge)
[![HHVM Status](https://img.shields.io/hhvm/h4cc/stack-psr7-bridge.svg)](http://hhvm.h4cc.de/package/h4cc/stack-psr7-bridge)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/badges/quality-score.png)](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/)
[![Code Coverage](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/badges/coverage.png)](https://scrutinizer-ci.com/g/h4cc/stack-psr7-bridge/)


This Middleware tries to make using Symfony HttpKernel Application and PSR-7 as easy as possible.

Wrapped applications can be:

- Any Symfony HttpKernel
- Any Callback expecting `function(RequestInterface $request, ResponseInterface $response, $next = null)`

It does not matter what kind of application is wrapped, the bridge will convert incoming requests and outgoing responses accordingly
to the used interface.

The implementation this middleware is based on is [https://github.com/symfony/psr-http-message-bridge](https://github.com/symfony/psr-http-message-bridge).
{'fraction_non_alphanumeric': 0.14358786993058092, 'fraction_numerical': 0.01680672268907563, 'mean_word_length': 5.2654462242562925, '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': '6970515', 'n_tokens_mistral': 951, 'n_tokens_neox': 927, 'n_words': 173}