rolland97/filament-resource-customizer
Filament Resource Customizer helps you tailor Laravel Filament admin resources with configurable fields, table columns, and actions. Adjust resource behavior and UI without duplicating generated resource classes, making admin panel customization faster and easier to maintain.
Architecture fit: The package targets a real, recurring pain point in Filament-based admin panels: customization logic (form/table/behavior tweaks) drifting across resource classes, plus the boilerplate of wiring permissions. Architecturally it introduces a customization layer between our resources and Filament's resource API, and a generator that emits permission artifacts (policies, roles, gates). The first is a low-blast-radius convenience abstraction; the second touches the authorization surface and is therefore a security-relevant dependency, not a utility. Fit is strong if we already run Filament panels and have a permissions backlog; weak if we do not.
Integration feasibility: Mechanically easy — Composer-installable, MIT, declared support for PHP 8.3–8.5 and Laravel 12–13, CI-verified on Linux and Windows. The feasibility question is commercial and architectural, not technical: 3 stars, a single visible maintainer, and a v2.x line with no public production references mean we would be an early adopter of an unproven abstraction. Confirm whether the package is runtime (registers behavior at boot) or codegen-time (emits files we own). If it is codegen-time, lock-in and runtime risk drop sharply because the output is checked in and the package becomes a scaffolding tool.
Technical risk:
Key questions:
spatie/laravel-permission? Which version?Stack fit: Requires an existing Filament panel on Laravel 12/13 and PHP 8.3+. Baseline our environments at PHP 8.4 for the spike; treat PHP 8.5 as a forward-compatibility signal only until our own runtime supports it. Windows CI is irrelevant unless we run Windows workers.
Migration path: Do not retrofit existing resources first. Stand up a disposable or internal-only panel, apply the customizer to two or three non-critical resources, and run the permissions generator against a resource with a simple, auditable access model — never billing, PII, or tenant-isolation resources. If we later replace custom code, run generated and existing permissions in parallel and diff effective access per role before switching.
Compatibility: Pin ^2.1 exactly, verify the Filament and spatie/laravel-permission constraints resolve against our lockfile, and run composer audit. Diff generated artifacts in CI so regeneration drift is visible in review.
Sequencing (with gates):
Maintenance: The package is actively CI-maintained and forward-looking on PHP/Laravel, but our real maintenance cost is the upgrade treadmill: each Filament and Laravel major forces a joint upgrade. Because the license is MIT, the credible contingency is a vendored fork; decide up front whether we are willing to own it, and record that decision.
Support: No SLA. Assign a named internal owner, subscribe to the repo's releases and security advisories, and track Laravel/PHP EOL dates. Budget a standing quarterly check of upstream activity and a fork-or-replace trigger if releases stall past one Filament major.
Scaling: If codegen-time, runtime impact is zero and scaling is a non-issue. If runtime, expect negligible request-path cost but added panel boot/registration work; load-test only if the layer resolves per-request. The permissions generator's scaling concern is human: permission sets grow, regeneration gets riskier, and review burden rises with each resource.
Failure modes:
Ramp-up: Low for a Filament-fluent developer (1–2 days), but the permissions generator carries a security learning curve that most of the team will not clear by reading docs. Pair the spike with a security reviewer, require a written integration note covering generation, regeneration, rollback, and ownership, and add the package to the dependency register with its risk tier.
TPM recommendation: Conditional approval for a time-boxed spike with a hard security gate, scoped to internal back-office panels. The customization layer is plausibly worth adopting; the permissions generator should be treated as an authorization dependency requiring explicit review, and benchmarked against the mature alternative before we commit. Proceed to production only if the value gate shows material time savings and the generated authorization artifacts pass review.
How can I help you explore Laravel packages today?