PHP code example of xakepehok / array-to-uuid-helper

1. Go to this page and download the library: Download xakepehok/array-to-uuid-helper 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/ */

    

xakepehok / array-to-uuid-helper example snippets



$data = [
    "hello" => "world",
    "nested" => [
        "value_1" => 1,
        "value_2" => 2,
    ],
];


// Print "13e6457d-e400-4ca3-86d0-c50624604a02"
echo \XAKEPEHOK\ArrayToUuidHelper\ArrayToUuidHelper::generate($fields);