sarahsibert/shakespeare-quotes

Random quotes from William Shakespeare's work

v3.0.0 2021-03-26 11:48 UTC

This package is auto-updated.

Last update: 2025-04-20 23:42:32 UTC


README

Random quotes from the works of William Shakespeare

Installation

Require the package using composer:

composer require sarahsibert/shakespeare-quotes

Usage

use SarahSibert\ShakespeareQuotes\QuoteFactory;

$quotes = new QuoteFactory();

$quote = $quotes->getRandomQuote();

In View:

{{$quote->quote}}
{{$quote->play}}
{{$quote->theme}}

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.

Credits

License

MIT