Skip to content

Commit 145a05e

Browse files
committed
:octocat:
1 parent 14d1dce commit 145a05e

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

README.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,21 @@ A [PSR-7](https://www.php-fig.org/psr/psr-7/)/[PSR-17](https://www.php-fig.org/p
1616
[packagist]: https://packagist.org/packages/chillerlan/php-httpinterface
1717
[license-badge]: https://img.shields.io/github/license/chillerlan/php-httpinterface.svg
1818
[license]: https://github.com/chillerlan/php-httpinterface/blob/main/LICENSE
19+
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-httpinterface/ci.yml?branch=main&logo=github
20+
[gh-action]: https://github.com/chillerlan/php-httpinterface/actions/workflows/ci.yml?query=branch%3Amain
1921
[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-httpinterface.svg?logo=codecov
2022
[coverage]: https://codecov.io/github/chillerlan/php-httpinterface
2123
[codacy-badge]: https://img.shields.io/codacy/grade/0ad3a5f9abe547cca5d5b3dff0ba3383?logo=codacy
2224
[codacy]: https://app.codacy.com/gh/chillerlan/php-httpinterface/dashboard
2325
[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-httpinterface.svg?logo=packagist
2426
[downloads]: https://packagist.org/packages/chillerlan/php-httpinterface/stats
25-
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-httpinterface/ci.yml?branch=main&logo=github
26-
[gh-action]: https://github.com/chillerlan/php-httpinterface/actions/workflows/ci.yml?query=branch%3Amain
27+
2728

2829
# Documentation
2930

3031
See [the wiki](https://github.com/chillerlan/php-httpinterface/wiki) for advanced documentation.
3132
An API documentation created with [phpDocumentor](https://www.phpdoc.org/) can be found at https://chillerlan.github.io/php-httpinterface/ (WIP).
3233

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-
Further, it still only implements [`psr/http-message`](https://packagist.org/packages/psr/http-message) v1.1,
39-
as the v2.0 release from 06/2023 has return types added [that conflict](https://github.com/php-fig/http-message/pull/107)
40-
with the PHP 8 [`static` return type](https://wiki.php.net/rfc/static_return_type).
4134

4235
## Requirements
4336
- PHP 8.1+
@@ -47,6 +40,7 @@ with the PHP 8 [`static` return type](https://wiki.php.net/rfc/static_return_typ
4740
- [`ext-simplexml`](https://www.php.net/manual/book.simplexml.php)
4841
- [`ext-zlib`](https://www.php.net/manual/book.zlib.php)
4942

43+
5044
## Installation
5145
**requires [composer](https://getcomposer.org)**
5246

@@ -64,9 +58,7 @@ In case you want to keep using `dev-main`, specify the hash of a commit to avoid
6458

6559
Profit!
6660

67-
## License information
6861

69-
This library contains portions of code (especially tests) from the following libraries:
70-
- [Guzzle PSR-7](https://github.com/guzzle/psr7) (MIT)
71-
- [Slim](https://github.com/slimphp/Slim) (MIT)
72-
- [caridea-dispatch ](https://github.com/libreworks/caridea-dispatch) (Apache)
62+
## Disclaimer
63+
64+
Use at your own risk!

0 commit comments

Comments
 (0)