holiday-jp/holiday_jp

Japanese holidays

v2.3.0 2020-12-06 10:41 UTC

This package is auto-updated.

Last update: 2024-12-06 19:13:54 UTC


README

Get holidays in Japan.

Installation

{
  "require": {
    "holiday-jp/holiday_jp": "*"
  }
}
require 'vendor/autoload.php';

use HolidayJp\HolidayJp;

$holidays = HolidayJp::between(new DateTime('2010-09-14'), new DateTime('2010-09-21'))

echo $holidays[0]['name'] // 敬老の日