text.skip-to-content

Маршрутизация

The pyncer/routing package is used for linking the current HTTP request to a corresponding HTTP response.

Installation

Install via Composer:

$ composer require pyncer/routing

Page Router

The PageRouter and I18nPageRouter classes are implementations for building a traditional web site.

Module Router

The ModuleRouter and I18nModuleRouter classes are implementations for building a REST API.