PHP code example of shallowred / kirby-shared-config

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

    

shallowred / kirby-shared-config example snippets



hallowred\KirbySharedConfig\Config;

$kirbyConfig = Config::withSharedConfig(__DIR__, $kirbyConfig);