csgt / cancerbero
There is no license information available for the latest version (v8.0.2) of this package.
Cancerbero
v8.0.2
2025-02-16 15:11 UTC
Requires
- php: >=7.2
This package is auto-updated.
Last update: 2026-05-25 19:35:27 UTC
README
Cancerbero is a Laravel package to manage access control based on routes and a permissions database table.
| Package Version | Laravel version | Field language | Tree structure | Model Path |
|---|---|---|---|---|
| 4.x | 4 | spanish | ids | Models/Auth |
| 5.5.x | >5 | spanish | ids | Models/Auth |
| 5.7 | >5 | english | ids | Models/Auth |
| 6.x | >6 | english | ids | Models/Auth |
| 7.x | >6 | english | names | Models/Auth |
| 8.x | >6 | english | names | Models |
Upgrade guides
6.x -> 7.x
- Update
composer.jsonto the new versions
"csgt/cancerbero": "^7.0",
"csgt/menu": "^7.0",
"csgt/ui": "^3.0",
"csgt/utils": "^8.0",
- Publish and run migrations
php artisan vendor:publish --tag=migrations
php artisan migrate
-
Modify
PermissionSeeder,ModulePermissionsSeeder,MenuSeeder,GodSeeder,InitialSeederseeders for new schema. You may copy them from\packages\ui\src\Auth\stubs\seeders\ -
Update
\database\seeds\CsgtModule.phpfor new schema. You may copy it from\packages\cancerbero\src\ -
Remove
menumiddleware from routes (if they exist)