PHP code example of loaf / settings
1. Go to this page and download the library: Download loaf/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/ */
loaf / settings example snippets
// Set a value
Settings::set('website.appearance.color', '#dbedff');
// Get a value
$value = Settings::get('website.appearance.color', $default_value);