Weave 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

Laravel Roles Permissions Crud Laravel Package

givanov95/laravel-roles-permissions-crud

A Laravel package for managing roles and permissions with CRUD operations. It provides the foundations to create, edit, list, and delete roles and permissions, helping you add access-control administration to your application quickly.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for RBAC administration: The package ships working RoleController and PermissionController flows (index, edit, update), so the default decision shifts toward buying/adopting rather than hand-rolling role and permission CRUD screens. Custom build is reserved for differentiated workflows (approvals, audit trails, scoped tenancy), not basic admin screens.
  • Admin UX roadmap: v4.0.1 changes post-save behavior from a redirect to index to a redirect back to the record's own edit route. That supports iterative editing workflows — an admin adjusting several permissions on one role can save and keep editing without losing context. Treat this as a signal that the package is maintained at the interaction-detail level, not just feature-level.
  • Feature scoping: Because the package owns the edit/update surface, product can specify role/permission management as a configuration capability rather than a custom feature. Engineering effort is redirected to policy design, approval flows, and tenant scoping — the parts the package does not solve.
  • Roadmap risk: This is a patch release with no breaking changes, so it does not force a roadmap adjustment. It does justify keeping the package on the maintenance track and scheduling a low-cost dependency bump.
  • Use cases this supports well: internal admin panels, back-office role assignment, permission matrix editing, small teams without a dedicated admin framework. It supports these less well if the product needs headless/API-only role management or a fully custom SPA admin experience.

When to Consider This Package

Consider adoption when:

  • You need conventional Laravel CRUD for roles and permissions with server-rendered edit screens and standard redirect-based form handling.
  • Your team wants to avoid maintaining boilerplate controllers, routes, and views for role/permission administration.
  • Your edit workflows benefit from staying on the edit page after save — the behavior introduced in v4.0.1.
  • You are comfortable with Laravel HTTP controller conventions and can extend or override controllers where needed.
  • You want a small, low-ceremony admin surface rather than a full admin framework.

Look elsewhere or plan custom work when:

  • You need an API-first or headless permission service, or a SPA/Inertia admin front end with client-side state persistence.
  • You require audit logging, approval workflows, SCIM provisioning, or fine-grained multi-tenant scoping — these are not addressed by this release.
  • You already standardize on Filament, Nova, or a similar admin panel where role/permission resources are better owned by that ecosystem.
  • Your consumer app overrides update() redirect behavior; verify your overrides and tests still match intended UX after upgrading.
  • You need custom fields on roles or permissions beyond what the package's models and forms expose.

Upgrade note: v4.0.1 is a patch with no breaking changes. The only behavioral change is the post-update redirect target for roles and permissions. Check consumer apps that assert redirects to index after save, and any custom edit route names, before bumping.

How to Pitch It (Stakeholders)

For executives: This is a low-risk maintenance release for a package that provides ready-made role and permission administration screens. It fixes an admin UX detail — after saving a role or permission, users now stay on the edit page instead of being sent back to the list. There are no breaking changes, no migrations, and no new configuration. The decision it supports is to keep using the package for standard RBAC admin rather than funding a custom build, while reserving engineering investment for higher-value work such as approvals, audit trails, and tenant scoping.

For engineering: v4.0.1 updates RoleController::update() and PermissionController::update() to redirect to the record's own edit route rather than index. No breaking changes. Upgrade is a routine dependency bump. Review any app-level overrides of these controller methods, and update tests that assert a redirect to the index after save. Confirm custom edit route names resolve correctly in consumer applications. The change improves multi-save editing flows and reduces clicks for admins configuring permissions.

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.
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names