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

phakpoom/settings-bundle

A simple settings bundle for Laravel that lets you store, retrieve, and manage application configuration values in the database. Supports typed values, caching, and an easy-to-use facade or helper API for reading and updating settings at runtime.

View on GitHub
Deep Wiki
Context7

Symfony Setting Bundle

Frequently asked questions about Settings Bundle
How do I install phakpoom/settings-bundle in a Laravel app?
Install the package with Composer by running composer require phakpoom/settings-bundle. Then follow the package README to publish any config or migration files and run php artisan migrate to create the settings table. If the package does not use Laravel package auto-discovery, register its service provider manually. Check the README for the exact publish tags, provider class, and facade alias.
Which Laravel versions does phakpoom/settings-bundle support?
The supplied context does not list explicit Laravel version constraints, so check the package composer.json on Packagist or GitHub before installing. Confirm that the required PHP version and Laravel framework constraint match your application. If you are on an older or newer Laravel release, test the package in a staging branch first. Version support should be verified from the repository rather than assumed.
Is phakpoom/settings-bundle a Symfony bundle or a Laravel package?
The package name and short description use the word bundle, which can make it look like a Symfony package. The provided overview describes it as a Laravel settings package with a facade or helper API for database-backed configuration values. Check the README and composer.json to confirm the framework integration before installing it in either Laravel or Symfony. This distinction matters because service providers, facades, and migrations are Laravel-specific concepts.
How do I get and set settings at runtime with this package?
Use the package facade or helper API to read and write settings without editing config files. A common pattern is to read a key with a default fallback and update the same key when an administrator changes a value. Because values are stored in the database, updates are available to later requests after any cache refresh. Refer to the README for the exact facade name, helper function, and method signatures.
Does phakpoom/settings-bundle support typed values like booleans, integers, and arrays?
The package blurb states that it supports typed values, so settings can be stored as more than plain strings. Use the documented casting or type options when saving and retrieving values to avoid unexpected string comparisons. Test boolean and array round-trips in your own application before relying on them in production. The exact supported types should be confirmed in the README.
How does caching work for database-backed settings in Laravel?
The package supports caching to avoid querying the database for every settings read. After updating a setting, the package should refresh or invalidate the relevant cache entry according to its documentation. In multi-server deployments, use a shared cache store such as Redis so all application nodes see consistent values. Review cache key and TTL behavior before production rollout.
Can I use phakpoom/settings-bundle in a production Laravel application?
Yes, if the package Laravel and PHP constraints match your stack and you have tested read, write, and cache behavior. Because settings are stored in the database, include the settings table in your migrations and backup strategy. Avoid storing secrets in plain text unless the package provides encryption or you handle encryption yourself. Run staging checks and review the package for recent maintenance activity before deploying.
How do I test Laravel code that depends on phakpoom/settings-bundle?
In tests, set the settings your code needs through the package API or seed the settings table before the test runs. Clear or refresh the package cache between tests so values do not leak across test cases. If the package binds a service in the container, you can mock or swap that binding using Laravel test container features. Keep a small test helper for common settings setup to reduce duplication.
What are alternatives to phakpoom/settings-bundle for Laravel settings?
Alternatives include dedicated Laravel settings packages such as spatie/laravel-settings, as well as simpler approaches like a custom settings model or static config files. Choose based on whether you need typed values, caching, migrations, and a facade or helper API. This package is a reasonable fit if you want a lightweight database-backed settings store with those features. Compare maintenance activity and Laravel version support before deciding.
Is phakpoom/settings-bundle actively maintained and safe to adopt?
The supplied context does not include release history or maintenance details, so check the GitHub repository for recent commits, open issues, and tagged releases. Review the composer.json constraints and test the package in a staging environment before adopting it. If maintenance appears stale, consider pinning a version or choosing an actively maintained alternative. Adoption risk depends on your project timeline and how critical runtime settings are to your application.
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