PHPackages                             beastbytes/router-register - 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. [API Development](/categories/api)
4. /
5. beastbytes/router-register

ActiveLibrary[API Development](/categories/api)

beastbytes/router-register
==========================

Define routes using attributes

027PHPCI passing

Since Dec 6Pushed 6mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![RouterRegister Logo](Writerside/images/logo.svg)](Writerside/images/logo.svg)

RouterRegister
==============

[](#routerregister)

RouterRegister allows routes to be defined in application source code using PHP [Attributes](https://www.php.net/manual/en/language.attributes.php)amd [Enumerations](https://www.php.net/manual/en/language.enumerations.php).

RouterRegister parses RouterRegister attributes and enumerations in application source code and generates an array of tree structures each of which represent the groups and routes, and their attributes (host and middleware), in a top level group as defined in the application Group Enumeration.

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

[](#installation)

RouterRegister is installed as a dependency of a framework specific RouterRegister Writer package.

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

[](#documentation)

Documentation is at

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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/b0b5133b5137b26eeb25056449c28364ac0af31836eefba78912a9c8f0743aa3?d=identicon)[BeastBytes](/maintainers/BeastBytes)

---

Top Contributors

[![beastbytes](https://avatars.githubusercontent.com/u/1470144?v=4)](https://github.com/beastbytes "beastbytes (169 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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