ngankt2/filament-db-config-encrypt
Filament plugin for securely managing encrypted database-backed configuration values. Provides an admin UI to edit settings while keeping sensitive data encrypted at rest in Laravel applications.
.env values with a database-backed settings table that non-engineers edit in Filament (support hours, rate limits, thresholds, integration endpoints, feature flags). Removes a recurring "engineering ticket to change a string" tax.Signal quality caveat: 1 star, 0 dependents, a 0.005 score. This is not an adoption decision; it is a spike decision. Treat every capability above as "claimed, pending source review."
Adoption criteria — treat these as gates, not a wishlist:
php artisan tinker dumps, how cache invalidation behaves when a value changes, whether the Filament resource enforces policies, and whether migrations are safe to re-run.Look elsewhere when:
spatie/laravel-settings plus Laravel's encrypted casts and a hand-rolled Filament resource is boring and defensible.Executives. There is a small MIT-licensed plugin that would let ops change site settings and editable page content directly in the admin panel instead of filing engineering tickets. It could save roughly one to three weeks on our next admin milestone, at zero license cost. Two caveats drive the recommendation. First, it has essentially no adoption — one GitHub star, no dependent projects, one maintainer — so it is unproven and could be abandoned. Second, it stores configuration, potentially including credentials, in the database with encryption, which makes this a security decision as much as a tooling one. Recommendation: fund a short time-boxed spike, not adoption. If it passes review we fork it internally and use it only for non-sensitive settings; sensitive secrets stay in our existing secrets manager. Worst case we spend a few days and take the MIT code as a reference for an in-house build.
Engineering. This is a Filament plugin providing a DB-backed settings/content model with caching and generated pages — the settings-resource boilerplate we keep rewriting. Treat it as a starting point, not a dependency. Spike tasks: read the entire source (it is small), confirm Filament/Laravel version support, determine which key encrypts values and how rotation and re-keying work, verify cache invalidation on write, verify policy and authorization on the resource, and grep for plaintext leakage into logs, exceptions, and exports. If it passes, vendor it under our namespace, pin the version, and add tests around the encryption cast, cache behavior, and migration idempotency — then restrict it to non-secret settings. If it fails any check, lift the relevant code as reference and build the one-to-three-week in-house version, which we own outright.
How can I help you explore Laravel packages today?