PHPackages                             jadob/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. [Framework](/categories/framework)
4. /
5. jadob/router

ActiveLibrary[Framework](/categories/framework)

jadob/router
============

Matches requests to controllers.

v0.9.2(6mo ago)0561MITPHP

Since Sep 6Pushed 6mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (46)Used By (1)

jadob/router
============

[](#jadobrouter)

Routing component for Jadob Framework
-------------------------------------

[](#routing-component-for-jadob-framework)

### Getting Started

[](#getting-started)

```
//Creating and configuring router instance:

//defining routes:
$routes = [
    'home' => [
        'path' => '/', //required
        'controller' => Your/App/Controller::class, //required
        'action' => 'index' //not required
        'ignore_global_prefix' => true //if true,
    ],
];

//if you need to add a set of routes with a common prefix:
$collection = new \Jadob\Router\RouteCollection();
$collection->setPrefix('/backend');

// this route will be matched on URI "/backend/posts/new"
$backendRoute = (new Route('backend_new_post'))
    ->setPath('/posts/new')
    ->setController(\Your\App\BackendController::class)
    ->setAction('newPost');

$collection->addRoute($backendRoute);

//when collection is passed to array, his key is ignored
$routes['backend_collection']  = $collection;

$routerConfig = [
    'routes' => $routes
];

$router = new \Jadob\Router\Router($routerConfig);

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance67

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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 ~34 days

Recently: every ~53 days

Total

45

Last Release

194d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dd963f53bf4337582dfabc903e4ee83da9414fbe913bf44928f53d30be029fc?d=identicon)[pizzaminded](/maintainers/pizzaminded)

---

Top Contributors

[![pizzaminded](https://avatars.githubusercontent.com/u/13077797?v=4)](https://github.com/pizzaminded "pizzaminded (121 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[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.

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

A simple API extension for DateTime.

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

PHPackages © 2026

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