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 1mo ago

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

15

—

LowBetter than 3% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity3

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://www.gravatar.com/avatar/54fa1483daf6cee11958a9ec014044cd48055925d2466d4ac28f6cf429f80294?d=identicon)[alemayehuabebe01](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M317](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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