alexpts/psr15-middlewares

Middlewares compatible with PSR-7 and PSR-15

Installs: 6 136

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/alexpts/psr15-middlewares

2.1.0 2022-05-28 20:02 UTC

README

phpunit codecov

Collection of PSR-15 middlewares.

Middlewares compatible with PSR-7 and PSR-15

Installation

$ composer require alexpts/psr15-middlewares

ResponseTime

ResponseMemory

CORS ( => see StaticHeader)

PoweredBy ( => see StaticHeader)

isXHR

PhpInputToBody

Etag

StaticHeader

StaticHeaderDefault

JsonPayload (need tests)

RequestWithAttribute

StaticResponse

ThrowableHandler

HasRequestAttributeName (need tests)

CallbackAdapter (need tests)

LogError (need tests)

ErrorToJsonResponse (need tests)

NewRelic (need tests)