PHP code example of kittsville / dodgy-decider

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

    

kittsville / dodgy-decider example snippets


use Kittsville\DodgyDecider\Decider;

$decider = new Decider('f37485e931');

echo $decider->chooseElement(['a', 'b', 'c'], 'choose a letter');