PHPackages                             rumus-bin/laravel-routes-attributes - 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. rumus-bin/laravel-routes-attributes

ActiveLibrary[API Development](/categories/api)

rumus-bin/laravel-routes-attributes
===================================

Laravel attributes route

010PHP

Since Oct 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rumus-bin/laravel-routes-attributes)[ Packagist](https://packagist.org/packages/rumus-bin/laravel-routes-attributes)[ RSS](/packages/rumus-bin-laravel-routes-attributes/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Package for using PHP Attributes as route mapping in Laravel applications.
==========================================================================

[](#package-for-using-php-attributes-as-route-mapping-in-laravel-applications)

The package requires a minimum version of PHP 8.
------------------------------------------------

[](#the-package-requires-a-minimum-version-of-php-8)

This package was inspired by the work of the [Spatie](https://github.com/spatie) team, namely their package: [laravel-route-attributes](https://github.com/spatie/laravel-route-attributes)Please use the above package for your production environments.

License
-------

[](#license)

MIT

### Responsibility:

[](#responsibility)

The author of the package does not bear any responsibility for possible losses associated with the use of this package in a production environment. The author also does not accept any comments about the performance or inoperability of this package. You can freely use all the program code of this package for your own purposes, but only under your own responsibility. Support, security and updating of this package is not guaranteed in any way by the author.

After install publish config with artisan command:

`php artisan vendor:publish --provider="RumusBin\AttributesRouter\AttributesRouterProvider" --tag="config"`this will publish config class: `return [ /* *  Automatic registration of routes will only happen if this setting is`true` \*/ 'enabled' =&gt; true,

```
/*
 * Controllers in these directories that have routing attributes
 * will automatically be registered.
 *
 * Optionally, you can specify group configuration by using key/values
 */
'directories' => [
    app_path('Http/Controllers'),

    app_path('Http/Controllers/Web') => [
        'middleware' => ['web']
    ],

    app_path('Http/Controllers/Api') => [
        'prefix' => 'api',
        'middleware' => 'api'
    ],
],

```

\]; `

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/57f0f0c8f281ee7e71a85b242e5eee116a1635f88ff17cbfeb53aa77d9a08104?d=identicon)[RumusBin](/maintainers/RumusBin)

---

Top Contributors

[![rumus-bin](https://avatars.githubusercontent.com/u/14363776?v=4)](https://github.com/rumus-bin "rumus-bin (14 commits)")

### Embed Badge

![Health badge](/badges/rumus-bin-laravel-routes-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/rumus-bin-laravel-routes-attributes/health.svg)](https://phpackages.com/packages/rumus-bin-laravel-routes-attributes)
```

###  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)
