This is a queue-based implementation of PSR-15: HTTP Server Request Handler for PHP projects.
Go to file
Sebastian Meyer d8b25299b2 Update documentation for AbstractMiddleware 2024-07-13 15:21:05 +02:00
.github Add GitHub Pages workflow 2024-04-17 16:29:42 +02:00
.phpdoc Update documentation for AbstractMiddleware 2024-07-13 15:21:05 +02:00
doc Update documentation for AbstractMiddleware 2024-07-13 15:21:05 +02:00
src Update documentation for QueueRequestHandler 2024-07-12 15:29:35 +02:00
.editorconfig Initial upload 2023-11-19 21:28:27 +01:00
.gitattributes Update GitHub workflows 2024-03-31 18:36:06 +02:00
.gitignore Add Composer commands for tools 2024-07-11 13:56:40 +02:00
.php-cs-fixer.dist.php Update GitHub workflows 2024-03-31 18:36:06 +02:00
CODE_OF_CONDUCT.md Initial upload 2023-11-19 21:28:27 +01:00
CONTRIBUTING.md Initial upload 2023-11-19 21:28:27 +01:00
LICENSE Initial upload 2023-11-19 21:28:27 +01:00
README.md Update documentation 2024-07-11 17:52:26 +02:00
composer.json Add Composer commands for tools 2024-07-11 13:56:40 +02:00
phpcs.xml.dist Update GitHub workflows 2024-03-31 18:36:06 +02:00
phpdoc.dist.xml Update GitHub workflows 2024-03-31 18:36:06 +02:00
phpstan.dist.neon Initial upload 2023-11-19 21:28:27 +01:00
psalm.xml.dist Add Composer commands for tools 2024-07-11 13:56:40 +02:00

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 and Psalm, 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/.

Quality Gates

PHPCS PHPMD

PHPStan Psalm