talesoft / tale-http
A PSR-7 and PSR-17 compatible HTTP utility library
Requires
- php: >=5.5.0
- psr/http-message: >=1.0
- talesoft/tale-stream: ~0.1
This package is auto-updated.
Last update: 2024-11-24 09:17:46 UTC
README
Tale Http
What is Tale Http?
Tale HTTP is an implementation of the PSR-7 and PSR-17 standards that doesn't add any own great logic or functionality, but rather acts as a base for sophisticated libraries that require a lightweight default implementation.
The classes are laid out to be used inside dependency injection containers following the PSR-11 spec.
Every single part of the library is interoperable with any PSR-7/PSR-17 implementation through PSR factories.
Installation
composer require talesoft/tale-http
Usage
For now, check out the source code please.
All functionality is covered in src/functions.php
.
Every single factory can be swapped out for another factory following the PSR specs.
TODO: Much documentation...