Don't let your PHP apps be sad and gloomy, insert this joke package and never be without a good joke again!
Use the package manager composer to install really-funny-jokes.
composer require bagwaa/really-funny-jokes
<?php
use Bagwaa\ReallyFunnyJokes\JokeFactory;
$jokes = new JokeFactory();
$joke = $jokes->getRandomJoke();
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.