PHPackages                             phly/react2psr7 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. phly/react2psr7

Abandoned → [react/http](/?search=react%2Fhttp)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

phly/react2psr7
===============

0.1.1(10y ago)39744BSD-2-CLAUSEPHPPHP ^5.5 || ^7.0

Since Apr 17Pushed 9mo ago4 watchersCompare

[ Source](https://github.com/phly/react2psr7)[ Packagist](https://packagist.org/packages/phly/react2psr7)[ Docs](https://github.com/phly/react2psr7)[ RSS](/packages/phly-react2psr7/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

react2psr7
==========

[](#react2psr7)

> ⚠️ **Archived 2025-08-17**
>
> Use at your own risk.

[![Build Status](https://camo.githubusercontent.com/5b163d959203b472e9616b682095c854ad312d3535c65abc6f6d95d5b4a987c9/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f70686c792f726561637432707372372e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/phly/react2psr7)[![Coverage Status](https://camo.githubusercontent.com/18614bb9abef8f4d9b482a774307a9a0158cc23b41340f8fcb472535dec9191c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70686c792f726561637432707372372f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/phly/react2psr7?branch=master)

Serve PSR-7 middleware applications from [React](http://reactphp.org).

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

[](#installation)

```
$ composer require "react/http:^0.5@dev" phly/react2psr7
```

> ### react/http
>
> [](#reacthttp)
>
> react2psr7 currently requires features from the upcoming 0.5 release of react/http. Since that version is not yet released, you need to specify it manually when installing to force Composer to allow a development release.

Usage
-----

[](#usage)

The following demonstrates creating an HTTP server using React, and using an [Expressive](https://zendframework.github.io/zend-expressive/) application to handle incoming requests.

```
