Weave Code
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

Setting Laravel Package

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.

Deep Wiki
Context7

Product Decisions This Supports

  • Dynamic Configuration Management: Enables runtime adjustments to feature flags, UI preferences, or business rules without redeploying code, reducing downtime and accelerating iteration.
  • Decoupling from .env/Config Files: Shifts environment-specific or frequently changing settings out of version-controlled files, improving security and maintainability.
  • Feature Flagging & A/B Testing: Provides a scalable way to manage experiment variables, user segments, or rollout percentages programmatically.
  • Multi-Tenant or Environment-Specific Logic: Allows per-tenant or per-environment settings (e.g., rate limits, regional policies) without hardcoding or complex conditional logic.
  • Build vs. Buy Decision: Avoids reinventing a settings management wheel, saving dev time while offering flexibility (vs. rigid alternatives like Laravel’s built-in config or .env).
  • Roadmap for "Configuration as Code": Paves the way for future tools like setting versioning, audit logs, or UI dashboards for non-technical stakeholders.

When to Consider This Package

  • Adopt if:

    • Your app needs runtime-configurable settings (e.g., feature toggles, UI themes, API limits) that change without redeploys.
    • You’re tired of scattered .env hacks or hardcoded values in config files.
    • Your team wants a centralized, cache-friendly way to manage settings across environments (dev/staging/prod).
    • You’re building a multi-tenant SaaS or need per-user/per-org configurations.
    • You prioritize developer experience (simple API, Laravel-native patterns) over ultra-low-level control.
  • Look elsewhere if:

    • You need strong typing or schema validation (consider Laravel’s built-in config + spatie/laravel-settings).
    • Your settings require complex access control (e.g., per-role permissions)—pair with a package like spatie/permission.
    • You need database migrations for settings (this uses storage, not migrations; see beberlei/attribute or spatie/laravel-settings).
    • You’re on a tight budget and can use Laravel’s native config + caching (though this adds minimal overhead).
    • Your settings are static and environment-only (.env or config files suffice).

How to Pitch It (Stakeholders)

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."

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation