Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afiqiqmal/countryholiday
get holiday list from selected country
https://github.com/afiqiqmal/countryholiday
composer country holidays package packagist php
Last synced: 9 days ago
JSON representation
get holiday list from selected country
- Host: GitHub
- URL: https://github.com/afiqiqmal/countryholiday
- Owner: afiqiqmal
- License: mit
- Created: 2017-06-08T08:41:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-21T15:00:23.000Z (almost 7 years ago)
- Last Synced: 2024-10-14T06:32:49.124Z (25 days ago)
- Topics: composer, country, holidays, package, packagist, php
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# List of Country Holiday
get holiday list from selected country### Usage
Holidays in current years
Holiday::init()->country("malaysia")->getAllRegionHoliday()->get();Holidays in specific years
Holiday::init()->country("malaysia")->getAllRegionHoliday("2017")->get();Holidays by regional
Holiday::init()->country("uae")->getRegionHoliday("Selangor")->get();Holidays by regional in 2017
Holiday::init()->country("usa")->getRegionHoliday("arizona","2017")->get();Grouping and Filter result
Holiday::init()->country("india")->getAllRegionHoliday()->groupByMonth()->get();
Holiday::init()->country("malaysia")->getAllRegionHoliday()->filterByMonth("January")->get(); //date('F')### install
composer require afiqiqmal/countryholidayOr
require{
"afiqiqmal/countryholiday": "^1.0.0"
}### Source
Scraped from - http://www.officeholidays.com/countries/malaysia### MIT Licence