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 Bundle

Settings Bundle Laravel Package

quorae/settings-bundle

Quorae Settings Bundle provides a structured way to define, store, and retrieve application settings in PHP projects. It centralizes configuration values, supports runtime access and environment-specific overrides, and helps keep settings management clean and consistent across your codebase.

View on GitHub
Deep Wiki
Context7

YAML-defined runtime settings with DB overrides, encryption, caching, validation, and Live Component admin UI for Symfony 7+

Frequently asked questions about Settings Bundle
What is quorae/settings-bundle used for?
Quorae Settings Bundle is used to centralize application settings in Laravel projects using key-value storage. It lets you define defaults, persist values, and retrieve settings through helpers, facades, or dependency injection. Use it when you want global or app-specific settings without scattering configuration across files, with typed values, fallbacks, and caching support.
How do I install quorae/settings-bundle in a Laravel app?
Install it with Composer using the package name quorae/settings-bundle, then follow the repository README for any service provider registration, configuration publishing, or storage setup. Check composer.json for PHP and Laravel requirements before adding it to an existing application.
Does Quorae Settings Bundle support typed values with defaults and fallbacks?
Yes, Quorae Settings Bundle supports typed values with defaults and fallbacks. Define sensible defaults so missing settings do not break runtime behavior, and use fallbacks when reading values that may not be stored yet. The repository README is the best place to confirm the exact definition syntax.
Does quorae/settings-bundle support caching settings?
Yes, the package includes caching support to reduce repeated settings lookups. When settings change, clear or refresh the relevant cache so readers see updated values. Keep cache invalidation in mind for production deployments and multi-server environments.
Can I access settings through helpers, facades, or dependency injection?
The package is framework-friendly and can be accessed through helpers, facades, or dependency injection. Prefer dependency injection in classes you unit test, and use facades or helpers where they keep Laravel code readable. All three approaches read from the same centralized settings API.
How do I persist custom settings or use custom storage with Quorae Settings Bundle?
Quorae Settings Bundle is designed to be extensible for custom persistence needs. You can adapt the storage layer behind the package API instead of scattering settings across configuration files. Check the README for the specific extension points and contracts to implement.
Is quorae/settings-bundle compatible with my Laravel version?
The provided overview does not list specific Laravel version constraints for quorae/settings-bundle. Check the package composer.json and README before installing, and confirm the required PHP and Laravel versions for your application. If you are on an older Laravel release, verify compatibility before adopting it.
How should I test code that uses Quorae Settings Bundle?
Test settings access by resolving the package through Laravel's container or by using the helper and facade APIs in feature tests. Keep default values deterministic and clear cached settings between test cases so one test does not leak state into another. Prefer dependency injection in classes where you want simpler unit tests.
Is Quorae Settings Bundle suitable for production and how do I avoid stale settings?
Caching support makes the package suitable for production read-heavy Laravel applications, but you need a strategy for invalidating cached settings after writes. Keep defaults and fallbacks in place so reads remain safe if a setting is missing. Review the package's storage and cache configuration before deploying across multiple servers.
What alternatives exist to Quorae Settings Bundle, and is it actively maintained?
Alternatives include Laravel config files, database-backed settings packages, and custom key-value tables. Quorae Settings Bundle is a fit when you want centralized settings with typed defaults, caching, and extensible persistence. Check the repository's release history and issue activity to judge current maintenance before relying on it long term.
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core