larave5 RBAC权限管理,多表用户权限判断
composer require sowork/yauth dev-masterconfig/app.php文件中providers数组中注册提供者 Sowork\YAuth\YAuthServiceProvider::class,,在config/app.php文件aliases数组中注册'YAuth' => Sowork\YAuth\YAuthServiceProvider::class,php artisan vendor:publish 会发布配置文件和数据库迁移文件,单独发布如下。php artisan migrateAppServiceProvider的register方法中调用YAuth::ignoreMigrations();使用php artisan vendor:publish --tag=yauth-migrations导出默认迁移表php artisan vendor:publish --tag=yauth-configHow can I help you explore Laravel packages today?