1. Go to this page and download the library: Download archerzdip/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/ */
// Get setting object
setting();
// Get setting value
setting('key','default');
// Set setting value
setting_set(string $key, $valve, $type = null, $description = null);
// Check the setting exists
setting_exists(string $key);
// Remove the setting value
setting_remove(string $key);
use Setting;
$check = Setting::exists('someKey');
php artisan setting:set {someKey} {someValue}
php artisan setting:get {someKey}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.