Skip to content

alexpts/psr15-middlewares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psr15-middlewares

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)

About

#psr15 #psr7 #middlewares

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages