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(3y ago)0492MITPHPPHP &gt;=8.0

Since Apr 19Pushed 3y ago1 watchersCompare

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

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

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

1430d 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

[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91245.3M590](/packages/laravel-pail)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M592](/packages/nette-bootstrap)[slim/psr7

Strict PSR-7 implementation

14818.0M411](/packages/slim-psr7)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[yorcreative/laravel-scrubber

A laravel package that scrubs sensitive information for you.

15467.2k2](/packages/yorcreative-laravel-scrubber)

PHPackages © 2026

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