PHP code example of kiryi / inyi

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

    

kiryi / inyi example snippets


$inyi = new \Kiryi\Inyi\Reader($filepath);
$value = $inyi->get($key);

__construct(string $filepath)

get(string $key)

(new \Kiryi\Inyi\Reader('configuration/config.ini'))->get('database::user');
ini
[database]
user = kiryi
password = qwe123