https://github.com/reecem/settings
Laravel Settings package that is persistent to DB
https://github.com/reecem/settings
laravel laravel-settings package property-bag settings-management
Last synced: about 1 year ago
JSON representation
Laravel Settings package that is persistent to DB
- Host: GitHub
- URL: https://github.com/reecem/settings
- Owner: ReeceM
- License: mit
- Created: 2019-05-12T20:47:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T09:37:35.000Z (about 3 years ago)
- Last Synced: 2025-01-21T23:14:33.602Z (over 1 year ago)
- Topics: laravel, laravel-settings, package, property-bag, settings-management
- Language: Blade
- Homepage: https://reecem.github.io/settings
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
settings
Laravel Settings package that is persistent to DB
This setting package makes use of the key-value storage method of settings.
## Installing
Require via composer
```bash
composer require reecem/settings
```
Then install through the artisan command
```bash
php artisan settings:install
```
## updates
when there is a new release please run `settings:update` just to refresh the published assets
```bash
php artisan settings:update
```
## Features
- Settings are cached to reduce reading time from the db
- `setting()` helper to access the settings from anywhere
- `multi.dimension.setting.array` - the settings can be saved in assoc array form
- settings can be cast to arrays, JSON or boolean from default
- WIP: encrypt the entire cached setting file
## todo
There is always something todo
- [x] add an encrypt option to individual settings
- [ ] improve the ui of the settings panel
- [ ] unit tests...
## Support
If you enjoy using the package you can support me on Ko-Fi or by paypal :smile:
