doobie-droid/chuck_norris_joke_generator

This package allows us to create chuck norris jokes randomly and is used for testing purposes.

v2.0.0 2023-06-19 20:49 UTC

This package is not auto-updated.

Last update: 2025-01-01 02:09:43 UTC


README

This is version 3

This is a library that spits out random chuck norris jokes.

Installation

Use the package manager composer to install doobie-droid/chuck_norris_joke_generator.

composer require doobie-droid/chuck_norris_joke_generator

Usage

use DoobieDroid\ChuckNorrisJokeGenerator\JokeFactory;

// initialise the joke class
$joke = new JokeFactory();

// get a new random joke
$joke->getRandomJoke();

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

This project is covered under the MIT license.