Sebastian Meyer 132258b103 | ||
---|---|---|
.github | ||
.phpdoc | ||
doc | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.php-cs-fixer.dist.php | ||
.phpmd.dist.xml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
composer.json | ||
phpcs.xml.dist | ||
phpdoc.dist.xml | ||
phpstan.dist.neon | ||
psalm.xml.dist |
README.md
Queue-based HTTP Server Request Handler
An implementation of PSR-15: HTTP Server Request Handlers.
The PHP Standard Recommendation PSR-15 defines interfaces for server request handlers and proposes a queue-based implementation using different middlewares for processing requests and preparing responses. This package follows those guidelines and provides a HTTP server request handler implementation using a middleware queue. It also contains an abstract class for middlewares to ease the process of writing your own middleware, but you can just as well use any middleware that implements Psr\Http\Server\MiddlewareInterface
specified by PSR-15 (e.g. from the awesome PSR-15 HTTP Middlewares project).
All components of this package follow the highest coding standards of PHPStan, Psalm, PHP Mess Detector, PHP_CodeSniffer, and comply to PSR-12 code style guidelines to make sure they can be combined and easily used in other projects.
Quick Start
The intended and recommended way of using this package is via Composer. The following command will get you the latest version:
composer require opencultureconsulting/psr15
All available versions as well as further information about requirements and dependencies can be found on Packagist.
Full Documentation
The full documentation is available on GitHub Pages or alternatively in doc/.