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


# import facade 
use Core\Siteconfig\Config;

# working with method 
Config::save('phone', '123'); # store method
Config::show('phone'); # get method
Config::update('phone', '18487'); # update method
Config::delete('phone'); #delete method
Config::list(); # showing all variables as array