k1low/holiday_jp

Japanese holidays

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

This package is not auto-updated.

Last update: 2024-11-19 03:32:20 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'] // 敬老の日