realmrhex/filament-modular
Filament Modular helps organize Laravel Filament applications into self-contained modules, automatically discovering and registering resources, pages, widgets, and plugins so large admin panels stay clean, scalable, and easy to maintain across teams.
nwidart/laravel-modules domains and your admin UI is FilamentPHP, this package replaces hand-written service-provider glue that registers each module's Filament resources, pages, and widgets into panels. The decision it informs is: "do we write ~30–100 lines of registration boilerplate per module ourselves, or adopt a package that does it?"app/Filament tree — which matters for team ownership, code review boundaries, and eventual extraction of modules into separate packages.Adopt (with guardrails) when:
nwidart/laravel-modules and FilamentPHP — this package is a bridge, not a reason to adopt either.Look elsewhere (or build it yourself) when:
discoverResources/discoverPages in a per-module provider cover most of this with zero dependencies.To executives: This is a small, MIT-licensed adapter that lets our admin panel grow in the same modular shape as our backend domains. Cost is effectively zero and it removes repetitive wiring per feature area, which speeds up delivery as the number of modules grows. The trade-off is maintenance risk: the project is low-adoption (61 stars) and has not shipped since April 2023. Recommendation is to adopt it as a pattern and starting point — copy or vendor the code into our repo — rather than as a live third-party dependency we depend on someone else to maintain. That caps downside while preserving the speed benefit.
To engineering: It's a thin integration layer between nwidart/laravel-modules and FilamentPHP that registers each module's resources, pages, and widgets into panels automatically. It saves boilerplate we would otherwise write and maintain ourselves. Before adopting, we need a compatibility check against our Filament and Laravel versions, and we should plan to own the code — pin, vendor, or fork. If the compatibility check fails or we're on a newer Filament major, the fallback is a ~50-line module-aware panel provider in-house, which delivers most of the same value with no external dependency.
How can I help you explore Laravel packages today?