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 1mo ago

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

Maturity24

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

[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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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