PHPackages                             sframe/route - 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. sframe/route

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

sframe/route
============

route component

05PHP

Since Dec 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/SIBPHP/Router)[ Packagist](https://packagist.org/packages/sframe/route)[ RSS](/packages/sframe-route/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Router
======

[](#router)

Simple router. You can specify the route Or if not specified it'll take controller/action as default example:

Installation
============

[](#installation)

```
composer require "sframe/router:dev-master"
```

Usage
=====

[](#usage)

```
$route = new SFrame\Router\Route(__DIR__ .'/Controllers');

// groups
$route->group(['prefix'=>'v1', 'before'=>function(){
    echo 'hello';
}], function($route){
    $route->get('test', 'TestController@tt');
    $route->post('hello', 'TestController@hello');
});

$route->put('test', 'TestController@pp');
$route->delete('test', 'TestController@dd');

try {
    $route->dispatch();
} catch (SFrame\Router\Exception\NotFound $e) {
    redirect('/404.html');
}
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sframe-route/health.svg)

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

###  Alternatives

[hellonico/acf-country

A country field for ACF.

12196.8k](/packages/hellonico-acf-country)[kirschbaum-development/nova-chartjs

chart.js Chart Field for Laravel Nova

5147.1k](/packages/kirschbaum-development-nova-chartjs)

PHPackages © 2026

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