kiiya/chuckjokes

Chuckjokes is a php package that adds Chuck Jokes to your php application

2.0.0 2019-09-27 04:52 UTC

This package is auto-updated.

Last update: 2024-04-29 04:13:48 UTC


README

Get random Chuck Norris jokes

Installation

Use the composer pip to install ChuckJokes.

composer require kiiya/chuckjokes

Usage

use Kiiya\ChuckJokes\JokeFactory;

$jokes = new JokeFactory;
$joke = $jokes->getRandomJoke();

Testing

Run the command below to run tests

vendor/bin/phpunit

Contributing

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.

License

MIT