damodar-bhattarai/settings
A Laravel settings package for storing and managing application configuration in the database. It offers a simple API to get, set, and forget settings, with caching support and easy integration into any Laravel application.
The package is a Laravel-oriented settings store: database-backed key/value configuration with a cache layer intended to avoid per-request queries. Architecturally, it fits small to medium Laravel monoliths that need editable runtime settings such as site name, logo URL, and contact details without redeploying configuration. It is less suitable as-is for multi-tenant, regulated, or high-scale platforms without additional controls.
Treat the package as an implementation detail behind an application-owned settings contract, not as a hard dependency spread across the codebase. The safest path is a bounded pilot followed by controlled adoption.
config/*.php, .env values, and hard-coded settings. Introduce a SettingsRepository interface or service in the app, back it with this package, and migrate read paths incrementally. Use dual-read or fallback-to-config during transition, backfill database values, then switch writes and remove legacy access.php artisan config:cache and route:cache enabled. Test cache invalidation in a multi-node/staging environment before production.Operationally, the package is lightweight but introduces a vendor dependency with limited visible support. The main ongoing work is cache correctness, change governance, and exit readiness rather than day-to-day maintenance.
How can I help you explore Laravel packages today?