PHP code example of ironedge / common-utils

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

    

ironedge / common-utils example snippets

 php


dge\Component\CommonUtils\Data\Data;

$myData = new Data(
    [
        'myParameter'   => 'myValue'
    ]
);

// Should return 'myValue'.

$myData->get('myParameter');
 bash
cd resources/examples;

# Replace here "example-file.php" with the example file name you want to execute.

php example-file.php;