novara / psr7
PSR7 and PSR17 implementation without any variables.
v1.0.0
2025-01-11 19:23 UTC
Requires
- php: >=8.3
- alexanderpas/http-enum: ^1.0
- novara/base: ^1.5.2
- novara/dynamic-readonly-classes: ^1.0.1
- psr/http-factory: ^1.0
- psr/http-message: ^2.0
Requires (Dev)
- php-http/psr7-integration-tests: 1.4.0
- phpunit/phpunit: 11.4.1 as 10.0.0
- squizlabs/php_codesniffer: ^3.10.3
README
PSR7 and PSR17 without variables
Copy on write? That's right! This is a PSR-7 and PSR-17 implementation without the use of variables.
Proper proof that Novara is more than a simple shitpost.
What is this
It's just like guzzle/psr7 but without any variables and way less performant.
Installation
composer require novara/psr7
Usage
Use like any other PSR7 / PSR17 implementation.
Limitations
ConstantStream is read only and cannot use seek
, rewind
, read
, or any... stream functions.
You can use getContents
.