v1.0.3 2023-09-15 03:32 UTC

This package is not auto-updated.

Last update: 2024-04-26 06:38:39 UTC


README

php artisan vendor:publish --provider="Encore\OrgRbac\OrgRbacServiceProvider"

After run command you can find config file in config/org.php, in this file you can change the install db connection or table names.

At last run following command to finish init.

php artisan orgRbac:init

After run command you can load basic database data.

Open http://localhost/admin/ in browser,use username admin and password admin to login.

Encore\OrgRbac\Layout\Content

During the development process, the Content class provided by the current component needs to be used

config/admin/auth.providers.admin.model >> \Encore\OrgRbac\Models\User::class

In the configuration file of admin, it is necessary to change the object provision of the user model to the user model provided by the current component

Some bugs in laravel-admin can be directly solved by using the current component's secondary encapsulation class

屏幕截图 2023-09-15 110720