@@ -12,24 +12,6 @@ PSR-7 (HttpMessage) & PSR-17 (HttpFactory) Implementations
1212* ` UploadedFile::getClientFullPath() ` . PHP 8.1 added a new file upload property (not included in PSR-7)
1313* ` ServerRequestExtended ` interface and implementation - Extends standard server request with helpful methods
1414
15- ### Installation
16-
17- ` composer require bdk/http-message `
18-
19- ### Documentation
20-
21- http://bradkent.com/php/httpmessage
22-
23- ### 3 maintained versions:
24-
25- | Version | http-message | http-factory | php | note |
26- | --| --| --| --| --|
27- |3.x | ^1.1 \| ^2.0 | ^1.0 | >= 8.0 | ` static ` returns
28- |2.x | ^1.1 \| ^2.0 | ^1.0 | >= 7.2 | ` self ` returns
29- | 1.x | ~ 1.0.1 | -- | >= 5.4 |   ; |
30-
31-
32-
3315### Utilities
3416* ContentType: common mime-type constants
3517* HttpFoundationBridge: create ServerRequest and Response from HttpFoundation request and response
@@ -40,14 +22,30 @@ http://bradkent.com/php/httpmessage
4022* ServerRequest:
4123 * ` fromGlobals(): ServerRequestInterface `
4224* Stream
43- * ` getContent(StreamInterface): string `
25+ * ` getContent(StreamInterface): string ` - Get stream contents without affecting pointer
4426* Uri:
4527 * ` fromGlobals(): UriInterface `
4628 * ` fromParsed(array): UriInterface `
4729 * ` isCrossOrigin(UriInterface $uri1, UriInterface $uri2): bool `
4830 * ` parseUrl(string|UriInterface): array ` - like php's ` parse_url ` but with bug fixes backported
4931 * ` resolve(UriInterface $base, UriInterface $rel): UriInterface ` - Converts the relative URI into a new URI that is resolved against the base URI.
5032
33+ ### Installation
34+
35+ ` composer require bdk/http-message `
36+
37+ ### Documentation
38+
39+ http://bradkent.com/php/httpmessage
40+
41+ ### 3 maintained versions:
42+
43+ | Version | http-message | http-factory | php | note |
44+ | --| --| --| --| --|
45+ |3.x | ^1.1 \| ^2.0 | ^1.0 | >= 8.0 | ` static ` returns
46+ |2.x | ^1.1 \| ^2.0 | ^1.0 | >= 7.2 | ` self ` returns
47+ | 1.x | ~ 1.0.1 | -- | >= 5.4 |   ; |
48+
5149## Tests / Quality
5250
5351![ Supported PHP versions] ( https://img.shields.io/static/v1?label=PHP&message=5.4%20-%208.4&color=blue )
0 commit comments