PHP code example of sekjun9878 / properties

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

    

sekjun9878 / properties example snippets


php composer.phar 

use sekjun9878\Properties\Properties;

$data = file_get_contents(filename);
$array = Properties::parse($data);

$string = Properties::dump($array);