bogosoft/http-routing

There is no license information available for the latest version (3.2.0) of this package.

Contracts and minimal implementations to support HTTP request routing.

Installs: 64

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/bogosoft/http-routing

3.2.0 2020-11-14 15:23 UTC

This package is auto-updated.

Last update: 2025-10-20 01:27:01 UTC


README

This library contains contracts for abstracting an HTTP request router as a PSR-15 middleware component.

Although this library contains minimal implementations, it is intended mainly to provide implementation-ready contracts.

The focal point of the library--the Router class--is a PSR-15 middleware component with the following responsibilities:

  • Resolve an HTTP request to an action, and a sequence of zero or more action filters.
  • Invoke the filtered action to obtain an action result.
  • Apply the action result to an HTTP response.

Requirements

  • PHP >=7.4

Installation

composer require bogosoft/http-routing