Skip to content

Commit 3741e94

Browse files
committed
🚿
1 parent 8c9603b commit 3741e94

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22

33
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.
44

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-
105
[![PHP Version Support][php-badge]][php]
116
[![version][packagist-badge]][packagist]
127
[![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
3530
See [the wiki](https://github.com/chillerlan/php-httpinterface/wiki) for advanced documentation.
3631
An API documentation created with [phpDocumentor](https://www.phpdoc.org/) can be found at https://chillerlan.github.io/php-httpinterface/ (WIP).
3732

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+
3839
## Requirements
3940
- 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
41+
- [`ext-curl`](https://www.php.net/manual/book.curl.php)
42+
- [`ext-json`](https://www.php.net/manual/book.json.php)
43+
- [`ext-mbstring`](https://www.php.net/manual/book.mbstring.php)
44+
- [`ext-simplexml`](https://www.php.net/manual/book.simplexml.php)
45+
- [`ext-zlib`](https://www.php.net/manual/book.zlib.php)
4146

4247
## Installation
4348
**requires [composer](https://getcomposer.org)**
@@ -60,7 +65,5 @@ Profit!
6065

6166
This library contains portions of code (especially tests) from the following libraries:
6267
- [Guzzle PSR-7](https://github.com/guzzle/psr7) (MIT)
63-
- [bakame-php psr7-uri-interface-tests](https://github.com/bakame-php/psr7-uri-interface-tests) (MIT)
6468
- [Slim](https://github.com/slimphp/Slim) (MIT)
65-
- [nyholm PSR-7](https://github.com/Nyholm/psr7) (MIT)
6669
- [caridea-dispatch ](https://github.com/libreworks/caridea-dispatch) (Apache)

0 commit comments

Comments
 (0)