Skip to content

Commit a35ca54

Browse files
Update composer.json and README.md for temporary development fork of reactphp/http with psr/http-message v2 support
1 parent 1cbe587 commit a35ca54

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55

66
Event-driven, streaming HTTP client and server implementation for [ReactPHP](https://reactphp.org/).
77

8+
> **Warning: Temporary Development Fork**
9+
>
10+
> This is an unofficial fork of `reactphp/http` created to provide immediate compatibility with `psr/http-message` v2 for development purposes.
11+
>
12+
> **The goal of this repository is to be deprecated and archived.**
13+
>
14+
> This fork is based on the official `3.x` branch and integrates the changes from pull request **[reactphp/http#542](https://github.com/reactphp/http/pull/542)**.
15+
>
16+
> Please switch to the official `reactphp/http` package as soon as a new version with this support is released. This fork will be kept in sync
17+
> with the upstream `3.x` branch on a best-effort basis.
18+
819
> **Development version:** This branch contains the code for the upcoming v3
920
> release. For the code of the current stable v1 release, check out the
1021
> [`1.x` branch](https://github.com/reactphp/http/tree/1.x).

composer.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
{
2-
"name": "react/http",
3-
"description": "Event-driven, streaming HTTP client and server implementation for ReactPHP",
4-
"keywords": ["HTTP client", "HTTP server", "HTTP", "HTTPS", "event-driven", "streaming", "client", "server", "PSR-7", "async", "ReactPHP"],
2+
"name": "codewithkyrian/reactphp-http",
3+
"description": "[TEMP FORK] Development version of reactphp/http v3 with psr/http-message v2 support. Replaces the official package. See README.md for more details.",
4+
"keywords": [
5+
"HTTP client",
6+
"HTTP server",
7+
"HTTP",
8+
"HTTPS",
9+
"event-driven",
10+
"streaming",
11+
"client",
12+
"server",
13+
"PSR-7",
14+
"async",
15+
"ReactPHP"
16+
],
517
"license": "MIT",
618
"authors": [
719
{
@@ -43,6 +55,9 @@
4355
"react/promise-stream": "^1.4",
4456
"react/promise-timer": "^1.11"
4557
},
58+
"replace": {
59+
"reactphp/http": "self.version"
60+
},
4661
"autoload": {
4762
"psr-4": {
4863
"React\\Http\\": "src/"
@@ -53,4 +68,4 @@
5368
"React\\Tests\\Http\\": "tests/"
5469
}
5570
}
56-
}
71+
}

0 commit comments

Comments
 (0)