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

026PHPCI passing

Since Dec 6Pushed 5mo 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 1mo ago

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

19

—

LowBetter than 10% of packages

Maintenance49

Moderate activity, may be stable

Popularity6

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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