Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Settings Laravel Package

chapdel/settings

Add per-model settings to your Laravel app. Store settings in a JSON column, a dedicated table, or Redis via simple traits. Includes defaults plus helpers to get, set, check, remove, and persist settings on any Eloquent model.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Flagging & Dynamic Configuration: Enables A/B testing, feature rollouts, or environment-specific settings without code changes (e.g., toggle "dark mode" per user segment).
  • Roadmap Flexibility: Avoids hardcoding configs in config/ files, allowing runtime adjustments (e.g., API rate limits, pricing tiers) without redeploys.
  • Build vs. Buy: Replaces custom solutions (e.g., JSON/YAML configs, database tables) or third-party SaaS (e.g., LaunchDarkly) for lightweight, self-hosted control.
  • Use Cases:
    • Multi-tenant apps: Tenant-specific settings (e.g., branding, workflows).
    • Admin panels: Dynamic UI toggles (e.g., "disable checkout for testing").
    • Compliance: Audit-friendly changes (e.g., GDPR data retention policies).

When to Consider This Package

  • Adopt if:

    • Your Laravel app needs runtime-configurable settings tied to models (e.g., User, Tenant).
    • You prefer database-backed configs over environment files or cache.
    • Your team lacks budget/time for a dedicated feature-flagging service.
    • You want versioning (e.g., rollback settings to a previous state).
  • Look elsewhere if:

    • You need real-time sync across servers (use Redis-backed solutions like spatie/laravel-settings).
    • Your settings are static (use Laravel’s native config/).
    • You require advanced analytics (e.g., feature adoption metrics; consider LaunchDarkly).
    • Your app uses non-Laravel backends (e.g., Node.js, Python).

How to Pitch It (Stakeholders)

For Executives: "This package lets us control app behavior dynamically—like flipping features on/off or adjusting pricing—without redeploying. It’s like having a self-service dashboard for settings, reducing dev overhead and speeding up experiments. MIT-licensed and open-source, so no vendor lock-in."

For Engineering: *"chapdel/settings provides a clean ORM layer for model-based configs (e.g., User::settings()->get('theme')). Key benefits:

  • No more config file redeploys: Update settings via admin panel or API.
  • Tenant/isolation support: Scope settings to models (e.g., Tenant::settings()).
  • Lightweight: ~500 LOC, no external dependencies. Tradeoff: No built-in UI, but pairs well with Laravel Nova or Filament for admin tools."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel