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

Abandoned → [humbrain/php-project](/?search=humbrain%2Fphp-project)Library[Framework](/categories/framework)

steodec/router
==============

Router use by Micro Framework

2.2(4y ago)0492MITPHPPHP &gt;=8.0

Since Apr 19Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (2)

Router
======

[](#router)

A simple anotation router for PHP8.

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install Router.

```
composer require Steodec\Router
```

Usage
-----

[](#usage)

`index.php`

```
namespace Steodec\App;

use Steodec\Router

/**
* @params string namespace
 */
RouterConfig::run("Steodec\Controllers");
```

---

`controller.php`

```
namespace Steodec\Controllers;

use Steodec\Router

class Home {

    #[Routes(method:'GET', path: "/")]
    public function index() {
        echo "Hello World";
    }
}
```

Documentation
-------------

[](#documentation)

The Route attribute can take several parameters

> `method`: `"GET" | "PUT" | "POST" | "DELETE"`

> path: it is a string "/" it can take parameters ": parameter"
>
> > Example: `"/user/:id"`

> is\_granted: Takes a string as a parameter, work if you have roles system

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

1478d ago

### Community

Maintainers

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

---

Top Contributors

[![steodec](https://avatars.githubusercontent.com/u/6824247?v=4)](https://github.com/steodec "steodec (8 commits)")

### Embed Badge

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

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

###  Alternatives

[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k11.8M117](/packages/nuwave-lighthouse)[yorcreative/laravel-scrubber

A laravel package that scrubs sensitive information for you.

15782.6k2](/packages/yorcreative-laravel-scrubber)[yakovenko/laravel-lighthouse-graphql-multi-schema

A Laravel package that provides multi-schema support for Lighthouse GraphQL.

16134.5k](/packages/yakovenko-laravel-lighthouse-graphql-multi-schema)

PHPackages © 2026

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