PHP code example of kiwi-suite / config

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

    

kiwi-suite / config example snippets


$config = new Config([
    'db' => [
        'user' => "myuser",
        'host' => "myhost",
        'pass' => "mypass",
    ]
]);
$config->get('db.user');