PHPackages                             dongdonggo/routeauth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dongdonggo/routeauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

dongdonggo/routeauth
====================

api route auth

1.0.2(7y ago)120MITPHP

Since Aug 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dongdonggo/routeAuth)[ Packagist](https://packagist.org/packages/dongdonggo/routeauth)[ RSS](/packages/dongdonggo-routeauth/feed)WikiDiscussions master Synced today

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

php artisan vendor:publish --force #强制覆盖

### composer.json

[](#composerjson)

composer.json 添加 files 模块 加载 helps 文件

```
"autoload": {
      "classmap": [
          "database/seeds",
          "database/factories"
      ],
      "psr-4": {
          "App\\": "app/"
      },
      "files":[
          "app/Helps/helps.php"
      ]
  },
  ```
  数据库迁移时注意删除，系统自带的 users 文件 user的model文件

```

### config/app.config

[](#configappconfig)

'providers' 数组添加 App\\Providers\\RouteauthServiceProvider::class,

```
   ### 中间件 kernel.php 中添加
$routeMiddleware
'routeauth' => \App\Http\Middleware\RouteAuth::class,

### composer require webpatser/laravel-uuid

添加组件 uuid

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~0 days

Total

2

Last Release

2812d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd30745ee22a8c6a5a059359b8ae392088f34e60dc3e09f82ad9d28432a6aeb1?d=identicon)[donggo](/maintainers/donggo)

---

Top Contributors

[![dongdonggo](https://avatars.githubusercontent.com/u/20265027?v=4)](https://github.com/dongdonggo "dongdonggo (8 commits)")

### Embed Badge

![Health badge](/badges/dongdonggo-routeauth/health.svg)

```
[![Health](https://phpackages.com/badges/dongdonggo-routeauth/health.svg)](https://phpackages.com/packages/dongdonggo-routeauth)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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