PHP code example of openclerk / config

1. Go to this page and download the library: Download openclerk/config 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/ */

    

openclerk / config example snippets


Openclerk\Config::merge(array(
  "database_name" => "clerk",
  "database_username" => "username",
  "database_password" => "password",
  // any other values here
));

echo Openclerk\Config::get("my_key", "default");