Skip to content

skybluesofa/onthisday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate Test Coverage Total Downloads Version Software License

On This Day

Get events and holidays for today (or any other day).

// Get events for a date
$events = (new OnThisDay)->getEvents('1/1/2016');

// Get holidays for a date
$events = (new OnThisDay)->getHolidays('1/1/2016');

// Get events and Holidays for a date
$events = (new OnThisDay)->getEventsAndHolidays('1/1/2016');

What's the difference between an 'event' and a 'holiday'?

An 'event' is generally one of those fun, interesting, or informative dates that various organizations come up with. Some examples are 'National Coffee Day' or 'Talk Like a Pirate Day'.

A 'holiday', on the other hand, is one of those days for which you got off from school or send someone a card. Some examples are New Year's Day, Valentine's Day or the 4th of July.

About

Get fun events and holidays for a given day.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages