bogosoft / http
Implementations for various PSR-7 and PSR-15 contracts.
Installs: 49
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bogosoft/http
Requires
- php: >=7.4
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- phpunit/phpunit: ^9.2
This package is auto-updated.
Last update: 2025-10-18 04:35:50 UTC
README
This library contains various implementations of PSR-7 and PSR-15 contracts.
| Class | Description |
|---|---|
DeferredStream |
A partial implementation (abstract class) of the Psr\Http\Message\StreamInterface contract that defers stream access until it is absolutley necessary. |
DelegatedMiddleware |
An implementation of the Psr\Http\Server\MiddlewareInterface that delegates HTTP request processing to a callable. |
DelegatedRequestHandle |
An implementation of the Psr\Http\Server\RequestHandlerInterface that delegates HTTP request handling to a callable. |
IStreamCopyable |
An interface that defines a copyTo method. |
Stream |
An implementation of the Psr\Http\Message\StreamInterface contract that wraps a resource. |
Requirements
- PHP 7.4+
Installation
composer require bogosoft/http