Download the PHP package outerweb/settings without Composer
On this page you can find all versions of the php package outerweb/settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download outerweb/settings
More information about outerweb/settings
Files in outerweb/settings
Package settings
Short Description This package adds application wide settings stored in your database.
License MIT
Homepage https://github.com/outer-web/settings
Informations about the package settings
Settings
This package adds application wide settings stored in your database.
Installation
You can install the package via composer:
Run the install command:
Usage
Saving settings
You can save settings using the helper function setting()
:
You can also save multiple settings at once:
Retrieving settings
You can retrieve settings using the helper function setting()
:
The key can be a dot-notation key to retrieve nested settings:
If you have multiple settings with the same parent key, you can retrieve them all at once:
You can also retrieve all settings at once:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Simon Broekaert
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of settings with dependencies
laravel/framework Version ^10.0|^11.0|^12.0
spatie/laravel-package-tools Version ^1.16