PHP code example of mathsgod / hl-holiday
1. Go to this page and download the library: Download mathsgod/hl-holiday library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mathsgod / hl-holiday example snippets
$hs=new HL\Holiday("en");
foreach($hs->getHoliday("2018-01-01","2018-12-31") as $h){
print_r($h);
}