cleaniquecoders / setting
This package is abandoned and no longer maintained.
No replacement package was suggested.
Laravel Setting Helper
v1.0.2
2016-11-23 07:55 UTC
This package is auto-updated.
Last update: 2023-12-03 06:58:28 UTC
README
Installation
composer require cleaniquecoders/setting
Register Service Provider
Open up config/app.php
and register CleaniqueCoders\Providers\SettingServiceProvider::class,
in providers
key.
Available Commands
Helper
There's a helper available in using this package
Get Setting Based on Key Name
setting('key-name');
Set Setting Based on Key Name
setting('key-name','items to save');
Flush Setting
Following command will flush cached settings.
php artisan setting:flush
Pass in --truncate=1
to flush settings in database as well.