PHPackages                             erandir/plug-route - 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. erandir/plug-route

ActiveLibrary[Framework](/categories/framework)

erandir/plug-route
==================

Route library for php

v4.6(3y ago)497.2k↓50%9[1 issues](https://github.com/fsoaresjunior/plug-route/issues)MITPHPPHP &gt;= 7.4CI failing

Since Jul 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/fsoaresjunior/plug-route)[ Packagist](https://packagist.org/packages/erandir/plug-route)[ RSS](/packages/erandir-plug-route/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (39)Used By (0)

plug-route
==========

[](#plug-route)

[![Latest Stable Version](https://camo.githubusercontent.com/5488a4270b294562ee7b35293fc6258e875c203dc1c5cd061845631889b57b4d/68747470733a2f2f706f7365722e707567782e6f72672f6572616e6469722f706c75672d726f7574652f76657273696f6e)](https://packagist.org/packages/erandir/plug-route)[![License](https://camo.githubusercontent.com/70d3b6268cc554c643717208645b4143af34ebf154e388f99c0a7a4bbcea2c77/68747470733a2f2f706f7365722e707567782e6f72672f6572616e6469722f706c75672d726f7574652f6c6963656e7365)](https://packagist.org/packages/erandir/plug-route)[![Code Intelligence Status](https://camo.githubusercontent.com/f36e7e7f130d645a21dc8d57e44d225909c2326dd281f7090b6109c010da9b8c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6572616e6469726a756e696f722f706c75672d726f7574652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

###### Powerful library for PHP routes

[](#powerful-library-for-php-routes)

> Use the system to work with GET, POST, PUT, DELETE, PATCH and OPTIONS requests.

> Work with json, form-data and x-www-form-urlencoded body requests.

> Use routes without virtualhost.

> Simple and fast.

Install
-------

[](#install)

```
composer require erandir/plug-route
```

**Basic usage**

```
$route = new \PlugRoute\PlugRoute();

$route->get('/')
    ->callback(function() {
        echo 'basic route';
    });

$route->run();
```

### [See the full documentation](https://github.com/erandirjunior/plug-route/blob/master/doc/installation.md)

[](#see-the-full-documentation)

Old version
-----------

[](#old-version)

Install and use an old version, run:

```
composer require erandir/plug-route:v4.4
```

Access old documentation for a complete use.

### [See the full documentation](https://github.com/erandirjunior/plug-route/blob/master/doc/old/installation.md)

[](#see-the-full-documentation-1)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% of commits — single point of failure

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

Every ~41 days

Recently: every ~94 days

Total

37

Last Release

1376d ago

Major Versions

v1.9 → v2.02018-12-02

v2.9 → v3.02019-03-10

v3.9 → v4.02020-09-25

PHP version history (4 changes)v1.0PHP &gt;=7.0

v3.3PHP &gt;=7.1

v4.2PHP &gt;=7.4

v4.3PHP &gt;= 7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ba42e1ff95b3c688a4db3dabfd7743b1ce9858bca3d2418eb4667f0e457c267?d=identicon)[erandir](/maintainers/erandir)

---

Top Contributors

[![erandirjunior](https://avatars.githubusercontent.com/u/13579247?v=4)](https://github.com/erandirjunior "erandirjunior (352 commits)")[![hexti](https://avatars.githubusercontent.com/u/13467750?v=4)](https://github.com/hexti "hexti (8 commits)")[![geekcom](https://avatars.githubusercontent.com/u/3955933?v=4)](https://github.com/geekcom "geekcom (2 commits)")[![alessandrofeitoza](https://avatars.githubusercontent.com/u/13440490?v=4)](https://github.com/alessandrofeitoza "alessandrofeitoza (1 commits)")[![hilderjares](https://avatars.githubusercontent.com/u/22472483?v=4)](https://github.com/hilderjares "hilderjares (1 commits)")[![maal26](https://avatars.githubusercontent.com/u/26939633?v=4)](https://github.com/maal26 "maal26 (1 commits)")[![v0idpwn](https://avatars.githubusercontent.com/u/14948182?v=4)](https://github.com/v0idpwn "v0idpwn (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/erandir-plug-route/health.svg)

```
[![Health](https://phpackages.com/badges/erandir-plug-route/health.svg)](https://phpackages.com/packages/erandir-plug-route)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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