PHPackages                             fracture/routing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. fracture/routing

ActiveLibrary[Framework](/categories/framework)

fracture/routing
================

Simple routing library without dispatcher

0.3.1(10y ago)02003BSDPHPPHP &gt;=5.5.0

Since Mar 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/fracture/routing)[ Packagist](https://packagist.org/packages/fracture/routing)[ Docs](https://github.com/fracture/routing)[ RSS](/packages/fracture-routing/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Fracture\\Routing
=================

[](#fracturerouting)

[![Build Status](https://camo.githubusercontent.com/f008f2654522b6ca8f7617042c787f4df401d4b8bb384018079137773987e120/68747470733a2f2f7472617669732d63692e6f72672f66726163747572652f726f7574696e672e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/fracture/routing)[![Code Coverage](https://camo.githubusercontent.com/4e75a1e0c25f50ca77b773fd5ee3ff456daf6ff27174f4268fa472226bb3c5b7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66726163747572652f66726163747572652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fracture/fracture/?branch=master)[![Scrutinizer](https://camo.githubusercontent.com/f286e5913e859430cd3e8c0ac720e03fd40d9b7c11de10b14824e4ac0f9a9cd8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f66726163747572652f726f7574696e672e737667)](https://scrutinizer-ci.com/g/fracture/fracture/?branch=master)[![Packagist version](https://camo.githubusercontent.com/580ee91ee2c91d4e0822de1517ec67f72e7bfd9f310178e27a71c63b10747561/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726163747572652f726f7574696e672e737667)](https://packagist.org/packages/fracture/routing)

\##Introduction

This component is a simple routing library, that is made to be easily compatible with other libs. It **does not include** any functionality for dispatching. Instead it focuses on "packaging" the user's input in an abstracted representation of request.

\##Installation

You can add the library to your project using composer with following command:

```
composer require fracture/routing
```

It will also install `fracture/http` as a dependency.

\##Usage

The following code illustates the process of initializing the abstraction of an HTTP request and routing said request.

```
