Skip to content

A curated list of amazingly awesome PHP libraries that implement psr7 or at least are compatible with it

Notifications You must be signed in to change notification settings

lalop/awesome-psr7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

Awesome PSR-7

A curated list of amazingly awesome PHP libraries that implement PSR-7 or at least are compatible with it.

I loved the StackPHP initiative but since PSR-7 is out I think the way to do good middlewares is by building them to handle PSR-7 request/response.

PSR-7 implementation

PSR-7 middleware stack management

This libraries handle a stack of middlewares that will be called successively during the request treatment. Since PSR-7 is only about the message and it doesn't define middleware. Any way a common signature for a middleware is anything callable that matches this :

function (
    Psr\Http\Message\ResponseInterface $request,
    Psr\Http\Message\RequestInterface $response,
    callable $next  // the next middleware
) {
    // ...
}

PSR-7 middlewares

collections of middlewares

Authentication

Security

Optimisation

HTTP client

Miscellaneous

About

A curated list of amazingly awesome PHP libraries that implement psr7 or at least are compatible with it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published