logisticinfotech / rightsmanagement-module
Package info
github.com/logisticinfotech/rightsmanagement-module
Type:laravel-module
pkg:composer/logisticinfotech/rightsmanagement-module
v0.0.8
2019-10-26 11:22 UTC
Requires
This package is auto-updated.
Last update: 2026-06-05 06:12:18 UTC
README
php artisan module:update php artisan migrate
admins routes prefix required, works best with inspania theme, minimum bootstrap 4 required
Config
For Congifuration you can fire
php artisan vendor:publishand select appropriate option which will generate file namedconfig/rightsmanagement.phpwith variables- You can generate file manually at
config/rightsmanagement.phphere are the list of
<?php
return [
'name' => 'RightsManagement',
'routePrefix' => 'admins', // no trailing slash required
'authGuard' => 'admin',
'layoutIncludes' => 'admin.include' // no trailing fullstop required
];
In Your Admin Model
please add use HasRoles; to your model
use Spatie\Permission\Traits\HasRoles;
class Admin extends Authenticatable
{
use HasRoles;
For Dev of this package
for versioning
replace X with next version
git tag vX.X.X
git push origin vX.X.X