Laravel Setting Helper
composer require cleaniquecoders/setting
Open up config/app.php
and register CleaniqueCoders\Providers\SettingServiceProvider::class,
in providers
key., (*1)
There's a helper available in using this package, (*2)
setting('key-name');
setting('key-name','items to save');
Following command will flush cached settings., (*3)
php artisan setting:flush
Pass in --truncate=1
to flush settings in database as well., (*4)