air-php/dispatcher

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

A route dispatching library.

Maintainers

Package info

github.com/air-php/dispatcher

pkg:composer/air-php/dispatcher

Statistics

Installs: 2 974

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.3.2 2015-12-10 10:42 UTC

This package is not auto-updated.

Last update: 2026-03-10 10:42:22 UTC


README

Build Status Scrutinizer Code Quality

The dispatcher library includes classes for dispatching web application routes.

Installation

Installation via Composer is recommended.

"require": {
    "air-php/dispatcher": "dev-master"
}

Dispatcher

The dispatch() method of the Dispatcher class takes a ResolvedRequest (compatible with Air's ResolvedRequest interface) and dispatches it.

If present, the dispatcher will call a before() and after() method on the target controller, before and after it calls the controller's action. This provides two useful hooks for code execution in your application's controllers.