Laravel Settings

Submitted by yazan-alnugnugh - 8 months 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]