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

Roles Permissions Filament Laravel Package

liberusoftware/roles-permissions-filament

Filament admin panel integration for the Liberu roles and permissions package, providing ready-made resources and UI components to manage roles, permissions, and user assignments directly inside your Filament app.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The package is a Filament panel plugin — a thin UI layer (Resources, Pages, tables/forms) over a separate authorization backend referenced as "the authorization capability." It is not a standalone RBAC engine. That means architectural fit is really a question of whether two packages fit: this UI module plus its underlying role/permission model, plus your Filament and Livewire versions. The naming convention (module-*) and the Liberu namespace suggest it's built for the Liberu modular Laravel ecosystem, which typically implies opinionated service-provider registration and a module loader. If you are not already inside that ecosystem, expect to shim or bypass some of that plumbing.

Integration feasibility. Mechanically straightforward: composer require, register the plugin in the target PanelProvider, ensure the authorization package's migrations have run, and confirm the Gate/policy wiring the UI writes against is the same one your application reads. The real feasibility question is dependency resolution — Filament's major-version cadence is fast, and a zero-star UI plugin pinned to a Filament major is a version constraint you inherit.

Technical risk.

  • Single-maintainer / zero-adoption risk. 0 stars, 0 dependents means no external production signal. You are the de facto QA function. No evidence of test coverage, CI, or issue triage volume.
  • Security-sensitive surface. A UI that grants roles is a privilege-escalation surface. It needs super-admin bypass protection, guard scoping (web vs. API), and team/tenant scoping if multi-tenant. Audit logging is almost certainly absent and must be added.
  • Release metadata anomaly. Last release is dated 2026-10-27 — a future date. Treat as a data-quality flag: verify the tag actually exists on the default branch and isn't a placeholder or metadata error.
  • Coupled upgrade risk. Filament resource API changes between majors have broken plugins before. A failure here can take down the entire admin panel at boot, not just degrade one screen.

Key questions.

  1. Which Filament majors and Laravel/PHP versions are supported, and is that constraint documented or inferred from composer.json?
  2. What is the underlying authorization package, who maintains it, and is it a hard or optional dependency?
  3. Does it store roles/permissions in its own tables, or adapt to spatie/laravel-permission? (Determines migration cost.)
  4. Guard, team/tenant, and super-admin bypass semantics?
  5. Permission cache invalidation strategy — does the UI flush it on save?
  6. Any audit trail of role/permission changes?
  7. Is there a permission-check bypass when a panel user hits the resource directly?

Integration Approach

Stack fit. Target is Laravel 11/12 + Livewire 3 + Filament 3/4. If your admin panel is Filament, the UI fit is native and low-friction. If you are on Nova, Backpack, or hand-rolled Blade, this package is unusable — do not contort the stack around a zero-adoption plugin.

Migration path. Two scenarios:

  • Greenfield RBAC: no data migration. Adopt the backend model as-is, seed roles, wire policies, done. This is the only scenario where the package is close to a net win.
  • Existing spatie/laravel-permission (or custom) tables: you need an ETL over roles, permissions, and the pivot tables, plus reconciliation of permission naming conventions (posts.edit vs edit-post). Unless the backend explicitly adapts to Spatie's schema, assume migration work of days, not hours. If Spatie is already in place, a hand-written Filament resource over Spatie is likely cheaper than this package plus a migration.

Compatibility. Pin explicitly: composer.json should show filament/filament:^3 (or ^4) and php:^8.2. Resolve the constraint first in a scratch project before committing to a spike — a failed composer require is a 10-minute kill signal.

Sequencing.

  1. Day 0 spike (≤4h): scratch Laravel + Filament app, require the package, register the plugin, confirm the panel boots and the resource is reachable.
  2. Constraint audit: read composer.json and the plugin class; confirm Filament major, guard support, and whether the auth backend auto-installs.
  3. Security review: verify super-admin bypass, guard scoping, and whether a lower-privileged admin can escalate their own role through the UI.
  4. Pilot in a non-production panel behind a feature flag, with audit logging added by you.
  5. Decide: adopt / fork / build. The UI surface is small — a role resource, a permission resource, and pivot sync is realistically 200–400 lines of Filament. Forking under your own namespace is a credible outcome and removes the upstream risk entirely.
  6. Productionize only with a pinned version, a vendored fork or a lockfile, and a documented owner.

Operational Impact

Maintenance. This is the dominant cost. With one maintainer, zero dependents, and no visible CI, plan on owning the code. Fork it into an internal namespace at adoption time rather than after the first breakage — retrofitting a fork post-incident is more expensive than starting with one.

Support. No community, no Stack Overflow corpus, no issue history to mine. Support means reading the source. Budget for that in onboarding and in every Filament upgrade cycle.

Scaling. The admin UI is low-traffic and not a throughput concern. The scaling question is on the read path: permission resolution and cache invalidation in your application's authorization checks. That lives in the backend package, not this UI — evaluate it separately. Verify the UI flushes the permission cache on save, or you will ship stale authorization to production.

Failure modes.

  • Admin panel boot failure on Filament upgrade — highest impact, whole-panel outage.
  • Privilege escalation via insufficient guard/scoping checks — highest severity, low detectability without audit logs.
  • Lockout from a misconfigured super-admin role with no recovery path; ensure a console/artisan fallback exists.
  • Stale permission cache after role edits — silent, hard to reproduce.
  • Silent abandonment upstream — no security patches reach you.

Ramp-up. Low for a developer already fluent in Filament (hours to productive); moderate for anyone else, because they must learn both this plugin's conventions and the Liberu module conventions layered on top. Add explicit ramp-up cost for the security review — that is specialized work, not standard feature onboarding.

Recommendation. Treat as conditionally viable for greenfield Filament RBAC only. Gate adoption on: the Day-0 composer spike passing, confirmed Filament major alignment, an audit that the backend is not itself abandoned, and a decision to fork under internal ownership. If you already run Spatie or any non-Filament admin surface, build the small resource yourself — the maintenance asymmetry does not justify the dependency.

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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel