Skip to content

cleaniquecoders/setting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Laravel Setting Helper

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.

About

Laravel Setting Helper

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages