PHP code example of bluefirex / wordgen
1. Go to this page and download the library: Download bluefirex/wordgen 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/ */
bluefirex / wordgen example snippets
bluefirex\WordGen\Generator;
$randomWord = Generator::getRandomWord();
$randomNounWithAdjective = Generator::getRandomNounWithAdjective($delimiter = ' ');
$randomAdjective = Generator::getRandomAdjective();
$randomNoun = Generator::getRandomNoun();
$randomVerb = Generator::getRandomVerb();
$randomSentence = Generator::getRandomSentence();