Laravel Settings

Submitted by yazan-alnugnugh - 5 months ago

Laravel Settings to create your website and model settings in an easy way, you can find all details about the package here:

//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]