PHPackages                             alexsabebe/php-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. alexsabebe/php-router

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

alexsabebe/php-router
=====================

I try to build PHP router package to make for developer esay work load anlso course purpose

11PHP

Since May 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alemayehuabebe01/php-router-package)[ Packagist](https://packagist.org/packages/alexsabebe/php-router)[ RSS](/packages/alexsabebe-php-router/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Router Package
==================

[](#php-router-package)

[![Latest Version](https://camo.githubusercontent.com/e4c5f9e9afa6db46a1f156456ab667b1cf3e0267d69b02b0f18e028addf0ba71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796f75722d76656e646f722f7068702d726f757465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/your-vendor/php-router)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ea5c3830aa741e11e4b817e558c2b0d5ef5af014637f0e4cf0574d015b2448ca/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f796f75722d76656e646f722f7068702d726f757465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/your-vendor/php-router)[![Coverage Status](https://camo.githubusercontent.com/5ad82806b6916815bc2b5bf42b0cce57e297b4b809ce95f9d557a6d6e5b034a8/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f796f75722d76656e646f722f7068702d726f757465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/your-vendor/php-router)[![PHP Version](https://camo.githubusercontent.com/afb2b7742706a5d83a8beb4bba01d44609f351bd440c6f5e8311e18402bb51a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f796f75722d76656e646f722f7068702d726f757465722e7376673f7374796c653d666c61742d737175617265)](https://php.net)

A lightweight, high-performance PHP router with middleware support and RESTful routing capabilities.

Features
--------

[](#features)

- RESTful routing (GET, POST, PUT, PATCH, DELETE)
- Middleware pipeline support
- Route parameters with custom regex patterns
- Route groups and prefixing
- CSRF protection
- CORS configuration
- PSR-7 and PSR-15 compliant
- Dependency injection support
- Built-in validation
- Cache control headers

Installation
------------

[](#installation)

Install via Composer:

```
composer require alexsabebe/php-router
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/121360764?v=4)[Alemayehu Abebe](/maintainers/alemayehuabebe01)[@alemayehuabebe01](https://github.com/alemayehuabebe01)

---

Top Contributors

[![alemayehuabebe01](https://avatars.githubusercontent.com/u/121360764?v=4)](https://github.com/alemayehuabebe01 "alemayehuabebe01 (3 commits)")

### Embed Badge

![Health badge](/badges/alexsabebe-php-router/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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