Downloads
Stars
Version
A lightweight and simple package for database based key-value store for Laravel 5.6 and above.
Via Composer
$ composer require soumen-dey/laravel-setting
The migrations will be loaded automatically, just run php artisan migrate
.
Publish the config file.
php artisan vendor:publish --provider="Soumen\Setting\SettingServiceProvider" --tag="config"
Use the included helper to access the settings.
setting('key', 'value'); // set the setting 'key' using the 'value'
setting('key') // get the setting 'key'
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
MIT License. Please see the license file for more information.