Laravel Settings

Submitted by yazan-alnugnugh - 2 years ago

Laravel Settings to create your website and model settings in an easy way, you can find all details about the package here: https://github.com/yazan-alnugnugh/laravel-settings

//we will call the set method from Setting class and set key and value simply

$setting =  \Setting::set('age', 18);

// Here we retrieve data from Setting

$setting =  \Setting::get('age');


// Here we retrieve data as group from Setting

$setting =  \Setting::group('default');
// ['age' => 18]