Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Yauth Laravel Package

sowork/yauth

View on GitHub
Deep Wiki
Context7

yauth

larave5 RBAC权限管理,多表用户权限判断

安装

  • composer安装 composer require sowork/yauth dev-master
  • 注册:在config/app.php文件中providers数组中注册提供者 Sowork\YAuth\YAuthServiceProvider::class,,在config/app.php文件aliases数组中注册'YAuth' => Sowork\YAuth\YAuthServiceProvider::class,

资源发布

  • 默认 php artisan vendor:publish 会发布配置文件和数据库迁移文件,单独发布如下。
  • 数据库表迁移 php artisan migrate
  • 如果你不想使用默认yauth的数据库表,或者想基于yauth表进行修改,需要在AppServiceProviderregister方法中调用YAuth::ignoreMigrations();使用php artisan vendor:publish --tag=yauth-migrations导出默认迁移表
  • 配置文件发布 php artisan vendor:publish --tag=yauth-config

中间件

API调用

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle