larapacks/setting
Laravel package for storing and retrieving application settings with a simple API. Manage key/value configuration in your database, access values via helpers or facades, and keep defaults in code while allowing runtime overrides for per-app customization.
.env/Config Files: Shifts environment-specific or frequently changing settings out of version-controlled files, improving security and maintainability..env).Adopt if:
.env hacks or hardcoded values in config files.Look elsewhere if:
spatie/laravel-settings).spatie/permission.beberlei/attribute or spatie/laravel-settings)..env or config files suffice).For Executives: "This package lets us toggle features, adjust app behavior, or customize user experiences on the fly—without redeploying code. Think A/B tests, regional settings, or emergency feature switches—all managed centrally and securely. It’s like giving our devs a ‘live config dashboard’ for the app, reducing downtime and speeding up iterations. Low risk, high reward: minimal dev effort for big operational flexibility."
For Engineers:
"Need to move settings out of .env or config files? This gives you a clean, cache-friendly API to store/retrieve dynamic values (feature flags, UI prefs, etc.) using Laravel’s storage patterns. No migrations, no ORM overhead—just a simple facade like Setting::get('max_upload_size'). Works with caching, supports environments, and integrates seamlessly with Laravel’s ecosystem. Perfect for avoiding ‘works on my machine’ issues or last-minute config tweaks in prod."
How can I help you explore Laravel packages today?