PHP code example of sumpygump / rumble-text

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

    

sumpygump / rumble-text example snippets



RumbleText\RumbleText;

$rumble = new RumbleText(RumbleText::LETTERSET_ORIGINAL);
$word = $rumble->generateRandomWord();
echo $word . "\n";