PHPackages                             davenusbaum/jaunt - 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. davenusbaum/jaunt

ActiveLibrary

davenusbaum/jaunt
=================

 A tree based router

v0.0.1(1y ago)165MITPHPPHP &gt;=7.1.0

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/davenusbaum/jaunt)[ Packagist](https://packagist.org/packages/davenusbaum/jaunt)[ RSS](/packages/davenusbaum-jaunt/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

jaunt
=====

[](#jaunt)

Jaunt, a fast tree based router for PHP.

One of the biggest challenges with PHP routers is that they start over for every request. Jaunt was designed to simplify and speedup the process of finding a route by building and walking a tree based structure rather than iterating over a list of regular expressed based route definitions.

Jaunt was [benchmarked](https://github.com/davenusbaum/benchmark-php-routing/tree/jaunt)using the excellent [benchmark-php-routing](https://github.com/kktsvetkov/benchmark-php-routing)package created by [Kaloyan Tsvetkov](https://github.com/kktsvetkov).

Create a router
---------------

[](#create-a-router)

Creating a router is simple.

```
