PHP code example of tunaqui / utils

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

    

tunaqui / utils example snippets

 php
$array = [
    'item1' => [ 'a' => 'Hola Mundo Cruel!', 'b' => 'Hola Mundo!' ],
    'item2' => 123456,
];
$selectable = new Tunaqui\Utils\ArraySelectable($array);
echo $selectable->find('item1.a');