Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-psr15-middlewares
A curated list of awesome PSR-15 HTTP Middleware resources
https://github.com/middlewares/awesome-psr15-middlewares
Last synced: 4 days ago
JSON representation
-
References
- PSR-15 HTTP Middleware - The current standard.
- psr/http-server-middleware - Composer package of common interfaces for PSR-15 HTTP Middlewares.
-
Articles
- PSR-7 Objects Are Not Immutable - Description of a serious flaw with the double-pass style of middlewares.
- Dependency Inversion and PSR-7 Bodies - Conclusion that double-pass flaws cannot be resolved without [HTTP Factories](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-17-http-factory.md).
- PSR-7 Objects Are Not Immutable - Description of a serious flaw with the double-pass style of middlewares.
-
Packages
-
PSR-7 implementations
-
Router
- timtegeler/routerunner - Routerunner is a config-driven router for HTTP requests.
- middlewares/aura-router - Use [Aura.Router](https://github.com/auraphp/Aura.Router/).
- middlewares/fast-route - Use [FastRoute](https://github.com/nikic/FastRoute).
- delolmo/symfony-router - Use [symfony/routing](https://github.com/symfony/routing)
- sunrise/http-router - HTTP Router based on PSR-7 and PSR-15
- jasny/switch-route - Generate a PHP script for faster routing
- makise-co/http-router - A HTTP Router based on FastRoute with middleware and DI support. Optimized for long-running applications.
- httpsoft/http-router - Simple and fast HTTP request router providing PSR-7 and PSR-15.
-
Dispatcher
- relay/relay - A PSR-15 request handler for both PSR-15 *and* callable middleware; use it with any framework or container.
- equip/dispatch - An HTTP Interop compatible middleware dispatcher.
- mindplay/middleman - Dead simple PSR-15 / PSR-7 middleware dispatcher.
- laminas/laminas-stratigility - Build and dispatch middleware pipelines.
- oscarotero/middleland - Another PSR-15 dispatcher
- moon-php/http-middleware - A simple PSR-15 dispatcher with lazy middleware resolution via container
- northwoods/broker - A conditional PSR-15 dispatcher that supports lazy middleware resolution via container
- noglitchyo/middleware-collection-request-handler - Lightweight & simple PSR-15 server request handler implementation to handle middleware collection.
- makise-co/middleware - A high performance strict typed PSR-15 dispatcher that supports middleware resolution though PSR container. Optimized for long-running applications (like Swoole, ReactPHP, AmPHP).
- httpsoft/http-runner - Running PSR-7 components and building PSR-15 middleware pipelines.
-
Security
- middlewares/cors - Manage [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/).
- middlewares/csp - Manage [Content-Security-Policies (CSP)](https://content-security-policy.com/).
- middlewares/honeypot - Block spam bots.
- middlewares/http-authentication - HTTP [Basic](https://en.wikipedia.org/wiki/Basic_access_authentication) and [Digest](https://en.wikipedia.org/wiki/Digest_access_authentication) access authentication.
- middlewares/recaptcha - Use [Google's reCAPTCHA](https://github.com/google/recaptcha) for spam prevention.
- ellipsephp/cookie-encryption - Encrypt cookies with a key
-
Development
- middlewares/debugbar - Inject [PHP Debug Bar](http://phpdebugbar.com/).
- middlewares/whoops - Use [Whoops](https://github.com/filp/whoops) as error handler.
-
Manage States
- middlewares/aura-session - Manage sessions using [Aura.Session](https://github.com/auraphp/Aura.Session).
-
Content
- middlewares/encoder - Compress responses with [gzencode](http://php.net/manual/en/function.gzencode.php) or [gzdeflate](http://php.net/manual/en/function.gzdeflate.php).
- middlewares/minifier - Minify Html, CSS and Javascript.
- middlewares/negotiation - Manage [content negotiations](https://tools.ietf.org/html/rfc7231#section-5.3).
-
Miscellaneous
- middlewares/geolocation - Geolocate requests.
- noglitchyo/dealdoh - Handle [DoH](https://tools.ietf.org/html/rfc8484) (DNS-over-HTTPS) messages.
-
Programming Languages
Categories
Sub Categories
Keywords
http
26
psr-15
25
middleware
23
psr-7
15
psr-17
7
php7
7
router
6
php-library
5
php8
5
php
5
dispatcher
4
security
3
http-message
3
stream
2
uri
2
fastroute
2
http-router
2
request
2
http-middleware
2
header
1
symfony
1
symfony-router
1
annotated
1
annotation
1
annotation-support
1
annotations
1
benchmark
1
httprouter
1
middlewares
1
openapi
1
openapi3
1
swagger
1
aura
1
middleware-pipeline
1
request-handler
1
middleware-dispatchers
1
middleware-collection
1
adr
1
server
1
message-factory
1
response
1
request-response
1
rfc-7230
1
uri-wrapper
1
rfc-3986
1
stream-wrapper
1
php-stream
1
compress
1
minify
1
uglify
1