Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 593 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 593 Bytes

holiday_jp PHP test Packagist

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'] // 敬老の日