webrek/laravel-mongo-permission-filament
Filament admin panel integration for MongoDB-backed roles and permissions in Laravel. Manage, assign, and audit access control through native Filament resources, making permission management simpler for Mongo-powered applications.
webrek/laravel-mongo-permission rather than a SQL-backed package (Spatie et al.). Treat it as a signal of stack direction, not just a UI add-on.Consider adoption when:
webrek/laravel-mongo-permission ^1.5 makes this non-negotiable.Look elsewhere / hold when:
webrek/laravel-mongo-permission 1.5+ — v1.0.0 is an explicit cutoff, and there is no prior stable line to fall back to.For executives: Access control is required for every customer-facing and internal workflow, and building an admin UI for it ourselves is pure overhead. This package gives us a tested, actively maintained screen for managing roles and permissions inside our existing admin panel at effectively zero build cost. It's a first stable release with automated tests and CI, so the risk is contained and reversible — and it does not add a new vendor or hosting dependency.
For engineering: v1.0.0 is the first stable cut: it adds a Filament + Livewire test suite covering role/permission creation (including the permissions select), panel resource registration, and Mongo model binding; plus GitHub Actions CI on PHP 8.2/8.3/8.4 against Laravel 12 with a MongoDB service, and PHPStan at level 5. It hard-requires Laravel 12 / PHP 8.2+ and pulls in webrek/laravel-mongo-permission ^1.5 for the legacy flat-data fix and cache invalidation — the cache-invalidation fix matters, since stale permission caches are a real production failure mode. Two caveats to flag: the Laravel 12 pin sets our app's upgrade floor, and PHPStan level 5 is a floor rather than a strong static-analysis guarantee. Treat the resources as a solid baseline to extend (scoping, tenancy, policy hooks) rather than a complete authorization solution.
How can I help you explore Laravel packages today?