PHPackages                             lpeil/therouter - 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. lpeil/therouter

ActiveLibrary[Framework](/categories/framework)

lpeil/therouter
===============

A simple php router

v1.0.0(5y ago)34MITPHPPHP ^7.4

Since Sep 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lpeil/TheRouter)[ Packagist](https://packagist.org/packages/lpeil/therouter)[ RSS](/packages/lpeil-therouter/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

TheRouter
=========

[](#therouter)

A simple PHP Router

Install
-------

[](#install)

```
  composer require lpeil/therouter

```

Usage
-----

[](#usage)

```
   use \TheRouter\Router;

   $routes = new Router();

   $routes->add('method', 'url', function ($params, $request, $headers) { result } );

   $routes->run();

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2113d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46160571?v=4)[Luan Peil](/maintainers/lpeil)[@lpeil](https://github.com/lpeil)

### Embed Badge

![Health badge](/badges/lpeil-therouter/health.svg)

```
[![Health](https://phpackages.com/badges/lpeil-therouter/health.svg)](https://phpackages.com/packages/lpeil-therouter)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
