PHPackages                             jsonrai277/json-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jsonrai277/json-php-router

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jsonrai277/json-php-router
==========================

Simple php router

v1.1.0(2y ago)016MITPHPPHP ^8.1

Since May 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yallungrai277/simple-php-router)[ Packagist](https://packagist.org/packages/jsonrai277/json-php-router)[ RSS](/packages/jsonrai277-json-php-router/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Description
===========

[](#description)

Simple router package.

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

[](#installation)

You can install this package using

```
composer require jsonrai277/json-php-router
```

Usage
-----

[](#usage)

Usage.

```
use JsonRai277\PhpRouter\Router;

require 'vendor/autoload.php';

Router::handle('GET', '/', 'home.php');

Router::get('/', 'home.php');

Router::get('/', function () {
    echo 'This is the home page.';
});

function homePage() {
    return 'This is the home page.';
}

Router::get('/', 'homePage');
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

3

Last Release

768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64385647?v=4)[Sudip Rai](/maintainers/yallungrai277)[@yallungrai277](https://github.com/yallungrai277)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[doublesecretagency/craft-upvote

Lets your users upvote/downvote, "like", or favorite any type of element.

1634.8k](/packages/doublesecretagency-craft-upvote)[php8-smpp/php8-smpp

PHP8 SMPP client lib, based on fork of alexandr-mironov/php-smpp which is fork of onlinecity/php-smpp

1213.3k](/packages/php8-smpp-php8-smpp)

PHPackages © 2026

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