PHP code example of xuqingfeng / holiday
1. Go to this page and download the library: Download xuqingfeng/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/ */
xuqingfeng / holiday example snippets
/**
* @param array $params
* @return mixed
*
* month- public function getPublicHolidays4Month(array $params)
/**
* @param array $params
* @return mixed
*
* year-untry-blic function isPublicHoliday(array $params)
/**
* @return mixed
*/
public function getSupportedCountries()