You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,6 @@
2
2
3
3
A [PSR-7](https://www.php-fig.org/psr/psr-7/)/[PSR-17](https://www.php-fig.org/psr/psr-17/)/[PSR-18](https://www.php-fig.org/psr/psr-18/) implementation.
4
4
5
-
**NOTE: This library has abandoned the silly "immuatbility" that is dictated by PSR-7 for it is horseshit.
6
-
Fluent interfaces just don't work like that, the pseudo-immutability gets in the way more often (always) than it is useful (never).
7
-
If you want your fluent objects to be immutable for whatever reason, just fucking clone them
8
-
and don't force countless libraries to do that for you instead. If you don't like it, just use Guzzle instead.**
9
-
10
5
[![PHP Version Support][php-badge]][php]
11
6
[![version][packagist-badge]][packagist]
12
7
[![license][license-badge]][license]
@@ -35,9 +30,19 @@ and don't force countless libraries to do that for you instead. If you don't lik
35
30
See [the wiki](https://github.com/chillerlan/php-httpinterface/wiki) for advanced documentation.
36
31
An API documentation created with [phpDocumentor](https://www.phpdoc.org/) can be found at https://chillerlan.github.io/php-httpinterface/ (WIP).
37
32
33
+
**NOTE: This library has abandoned the silly "immuatbility" that is dictated by PSR-7 for it is horseshit.
34
+
Fluent interfaces just don't work like that, the pseudo-immutability gets in the way more often (always) than it is useful (never).
35
+
If you want your fluent objects to be immutable for whatever reason, just fucking clone them
36
+
and don't force countless libraries to do that for you instead. If you don't like it, just use Guzzle instead.**
37
+
38
+
38
39
## Requirements
39
40
- PHP 8.1+
40
-
- the [`cURL`](https://www.php.net/manual/book.curl.php), [`json`](https://www.php.net/manual/book.json.php), [`simplexml`](https://www.php.net/manual/book.simplexml.php) and [`zlib`](https://www.php.net/manual/book.zlib.php) extensions
0 commit comments