amritms/chuck-norris-jokes

Create random Chuck Norris jokes

1.1.0 2020-04-26 15:00 UTC

This package is auto-updated.

Last update: 2024-11-17 01:32:43 UTC


README

Create chuck norris jokes in your next PHP project.

Installation

Require the package using composer:

composer require amritms/chuck-norris-jokes

Usage example

use Amritms\ChuckNorrisJokes\JokeFactory;

$jokes = new JokeFactory();

$joke = $jokes->getRandomJoke();

Contributing

  1. Fork it (https://github.com/amritms/chuck-norris-jokes)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Please make sure to update tests as appropriate.

License

MIT