PHPackages                             sorry510/auth - 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. sorry510/auth

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

sorry510/auth
=============

laravel auth

v0.0.4(4y ago)031MITPHPPHP ^7.3|^8.0

Since Sep 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sorry510/laravel_auth)[ Packagist](https://packagist.org/packages/sorry510/auth)[ RSS](/packages/sorry510-auth/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

权限设计
----

[](#权限设计)

> 根据swagger注释，自动生成权限表数据和路由文件

安装
--

[](#安装)

```
composer require sorry510/auth

```

#### 使用

[](#使用)

- 生成配置文件

```
php artisan vendor:publish --tag=auth
php artisan vendor:publish --tag=auth-migrations

```

- 执行数据库迁移

```
php artisan migrate

```

- 添加权限中间件

```
