PHPackages                             easeappphp/ea-router - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. easeappphp/ea-router

ActiveLibrary[HTTP &amp; Networking](/categories/http)

easeappphp/ea-router
====================

EARouter is a Simple Request Router, that uses plain Multi-dimensional Arrays of Routes, to handle both Static &amp; Dynamic Routes for PHP based Web Applications &amp; Web Service implementations.

1.0.8(2y ago)01222MITPHPPHP &gt;=8.1

Since Apr 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/easeappphp/EARouter)[ Packagist](https://packagist.org/packages/easeappphp/ea-router)[ Docs](https://www.easeapp.org/)[ RSS](/packages/easeappphp-ea-router/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (10)DependenciesVersions (11)Used By (2)

EARouter
========

[](#earouter)

> EARouter is a Simple Request Router, that uses plain Multi-dimensional Arrays of Routes, to handle both Static &amp; Dynamic Routes for PHP based Web Applications &amp; Web Service implementations.

### Getting started

[](#getting-started)

With Composer, run

```
composer require easeappphp/ea-router:^1.0.8
```

Sample Routes
=============

[](#sample-routes)

\#Login REST API Route

```
'rest-login' => [
	'route_value' => '/rest/login',
	'auth_check_requirements' => 'pre-login',
	'page_filename' => 'rest-login.php',
	'redirect_to' => '',
	'route_type' => 'rest-web-service',
	'allowed_request_methods' => ['POST'],
			'controller_type' => 'procedural',
			'controller_class_name' => \EaseAppPHP\EABlueprint\App\Http\Controllers\ProceduralController::class,
			'method_name' => 'webHtmlOutput',
			'with_middleware' => '',
			'without_middleware' => ''
],
```

\#My Profile REST API Route

```
'rest-get-all-user-details' => [
	'route_value' => '/rest/all-user-details/get',
	'auth_check_requirements' => 'none',
	'page_filename' => 'rest-all-user-details-get.php',
	'redirect_to' => '',
	'route_type' => 'rest-web-service',
	'allowed_request_methods' => ['POST'],
			'controller_type' => 'oop-mapped',
			'controller_class_name' => \EaseAppPHP\EABlueprint\App\Http\Controllers\AllUserDetails\GetController::class,
			'method_name' => 'index',
			'with_middleware' => '',
			'without_middleware' => ''
],
```

License
-------

[](#license)

This software is distributed under the [MIT](https://opensource.org/licenses/MIT) license. Please read [LICENSE](https://github.com/easeappphp/PDOLight/blob/main/LICENSE) for information on the software availability and distribution.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~136 days

Recently: every ~218 days

Total

10

Last Release

984d ago

Major Versions

v0.1.0 → 1.0.02021-02-08

PHP version history (3 changes)v0.1.0PHP ^7.2

1.0.0PHP &gt;=7.3

1.0.8PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbe04e216b4fb74f076a82bb6bd06f96faa4066089b33082c43f8c9cf184efbf?d=identicon)[raghuveer](/maintainers/raghuveer)

---

Top Contributors

[![raghuveer](https://avatars.githubusercontent.com/u/999229?v=4)](https://github.com/raghuveer "raghuveer (15 commits)")

---

Tags

phprouterrouting

### Embed Badge

![Health badge](/badges/easeappphp-ea-router/health.svg)

```
[![Health](https://phpackages.com/badges/easeappphp-ea-router/health.svg)](https://phpackages.com/packages/easeappphp-ea-router)
```

###  Alternatives

[wilaak/radix-router

High-performance radix tree based HTTP request router

612.8k5](/packages/wilaak-radix-router)

PHPackages © 2026

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