Skip to content

holiday-jp/holiday_jp-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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