PHP code example of intelrx / sitesettings
1. Go to this page and download the library: Download intelrx/sitesettings 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/ */
intelrx / sitesettings example snippets
SiteConfig::store('phone', '123'); # store method
SiteConfig::get('phone'); # get method
SiteConfig::update('phone', '18487'); # update method
SiteConfig::delete('phone'); #delete method
SiteConfig::list(); # showing all variables as array