PHPackages                             skybluesofa/onthisday - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. skybluesofa/onthisday

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

skybluesofa/onthisday
=====================

Get fun events and holidays for a given day

0.0.2.0(7y ago)3134[4 issues](https://github.com/skybluesofa/onthisday/issues)MITPHPPHP &gt;=5.3.0

Since Sep 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/skybluesofa/onthisday)[ Packagist](https://packagist.org/packages/skybluesofa/onthisday)[ Docs](https://github.com/skybluesofa/onthisday)[ RSS](/packages/skybluesofa-onthisday/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/fd760e6d52a47a58d5ed066b309f481c3d52fc12b340335999db76884d27782e/68747470733a2f2f7472617669732d63692e6f72672f736b79626c7565736f66612f6f6e746869736461792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/skybluesofa/onthisday) [![Code Climate](https://camo.githubusercontent.com/a3aea2b6f7e3d34e171ad66bb5ee8ca7e77e8f98c10bcaf9d120d7f831300936/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f736b79626c7565736f66612f6f6e746869736461792f6261646765732f6770612e737667)](https://codeclimate.com/github/skybluesofa/onthisday) [![Test Coverage](https://camo.githubusercontent.com/9703a41566907edbd200e177e84b9ac7f4f2b3ef7ec784b9397b27a44a234325/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f736b79626c7565736f66612f6f6e746869736461792f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/skybluesofa/onthisday/coverage) [![Total Downloads](https://camo.githubusercontent.com/19971e0c0a322ed2247f98daaefc37cd36b15cf0f60f345daf9e66ec85dc1402/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736b79626c7565736f66612f6f6e746869736461792e7376673f7374796c653d666c6174)](https://packagist.org/packages/skybluesofa/onthisday) [![Version](https://camo.githubusercontent.com/184c7a5105fdd115b6b67abc2c4d619218ec89ed51f58b258ea47b3df8c2a4d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736b79626c7565736f66612f6f6e746869736461792e7376673f7374796c653d666c6174)](https://packagist.org/packages/skybluesofa/onthisday) [![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE)

On This Day
===========

[](#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'?

[](#whats-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.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~650 days

Total

2

Last Release

2909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60324d72e7a3c7dea85699215cb194d3962647df1e860ae0ec1c6d53858e9a9b?d=identicon)[skybluesofa](/maintainers/skybluesofa)

---

Top Contributors

[![skybluesofa](https://avatars.githubusercontent.com/u/1657128?v=4)](https://github.com/skybluesofa "skybluesofa (66 commits)")[![bobbybouwmann](https://avatars.githubusercontent.com/u/5872362?v=4)](https://github.com/bobbybouwmann "bobbybouwmann (2 commits)")[![ulziibuyan](https://avatars.githubusercontent.com/u/5926266?v=4)](https://github.com/ulziibuyan "ulziibuyan (2 commits)")[![emm3ttarmstrong](https://avatars.githubusercontent.com/u/11791639?v=4)](https://github.com/emm3ttarmstrong "emm3ttarmstrong (1 commits)")[![Plasmagun86](https://avatars.githubusercontent.com/u/1825778?v=4)](https://github.com/Plasmagun86 "Plasmagun86 (1 commits)")

---

Tags

eventholidayday

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skybluesofa-onthisday/health.svg)

```
[![Health](https://phpackages.com/badges/skybluesofa-onthisday/health.svg)](https://phpackages.com/packages/skybluesofa-onthisday)
```

###  Alternatives

[illuminate/support

The Illuminate Support package.

630113.0M40.2k](/packages/illuminate-support)[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.8M21](/packages/spatie-laravel-google-calendar)[spatie/holidays

Calculate public holidays

402860.1k2](/packages/spatie-holidays)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k29](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k17](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46855.5k4](/packages/pimcore-data-importer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
