PHP code example of muetzeofficial / laravel-settings
1. Go to this page and download the library: Download muetzeofficial/laravel-settings library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
muetzeofficial / laravel-settings example snippets
use MuetzeOfficial\Settings\SettingFacade as Setting;
Setting::set(['someKey'=>'someValue']);
Setting::set([
'someKey'=>'someValue',
'anotherKey'=>'anotherValue',
]);
Setting::get('someKey');
php artisan setting:set {someKey} {someValue}