silencenjoyer/silence-http

HTTP Silence processing system.

0.0.3 2025-07-21 17:07 UTC

This package is auto-updated.

Last update: 2025-07-22 13:40:42 UTC


README

Latest Stable Version PHP Version Require License

The package provides HTTP kernel functionality for processing HTTP requests. The PSR-15 Middleware chain is involved in the processing. The kernel triggers event so that you can subscribe to these events.

This package is part of the monorepository silencenjoyer/silence, but can be used independently.

โš™๏ธ Installation

composer require silencenjoyer/silence-http

๐Ÿš€ Quick start

<?php

๐Ÿงฑ Features:

  • PSR-15 Middleware chain
  • Event triggering
  • Injection route handler parameters
  • HTTP exceptions hierarchy

๐Ÿงช Testing

php vendor/bin/phpunit

๐Ÿงฉ Use in the composition of Silence

The package is the core of HTTP request processing in the Silence application.
If you are writing your own package, you can use silencenjoyer/silence-http as basic algorithm for request handling.

๐Ÿ“„ License

This package is distributed under the MIT licence. For more details, see LICENSE.