Get random Chuck Norris jokes
Use the composer pip to install ChuckJokes.
composer require kiiya/chuckjokes
use Kiiya\ChuckJokes\JokeFactory;
$jokes = new JokeFactory;
$joke = $jokes->getRandomJoke();
Run the command below to run tests
vendor/bin/phpunit
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.