forked from mpociot/chuck-norris-jokes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:mpociot/chuck-norris-jokes
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
## [Unreleased] | ||
|
||
|
||
## [1.0.0] - 2019-02-04 | ||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Chuck Norris Jokes | ||
|
||
Create chuck norris jokes in your next PHP project. | ||
|
||
## Installation | ||
|
||
Require the package using composer: | ||
|
||
```bash | ||
composer require mpociot/chuck-norris-jokes | ||
``` | ||
|
||
## Usage | ||
|
||
```php | ||
use Mpociot\ChuckNorrisJokes\JokeFactory; | ||
|
||
$jokes = new JokeFactory(); | ||
|
||
$joke = $jokes->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 | ||
[MIT](./LICENSE.md) |