Skip to content

amacsmith/jocko-quotes

Repository files navigation

jocko-quotes

I created this because I really enjoy the content that Jocko Willink's shares and I hope this helps get his message to more people.

Get Jocko quotes from the jocko quote database for you php project.

usage

use AMacSmith\JockoQuotes\QuoteFactory;

$quotes = new QuoteFactory();

$randomQuote = $quotes->randomQuote();

$quoteByInteger = $quotes->quoteByInteger(1);

$quoteOfTheDay = $quote->quoteOfTheDay();