Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

joshtronic/php-holidayapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The PHP package has also been renamed from joshtronic/php-holidayapi to holidayapi/holidayapi-php

This repository has been archived.


php-holidayapi

Official PHP library for Holiday API

Installation

composer require "joshtronic/php-holidayapi:dev-master"

Usage

$hapi = new HolidayAPI\v1('_YOUR_API_KEY_');

$parameters = array(
  // Required
  'country' => 'US',
  'year'    => 2016,
  // Optional
  // 'month'    => 7,
  // 'day'      => 4,
  // 'previous' => true,
  // 'upcoming' => true,
  // 'public'   => true,
  // 'pretty'   => true,
);

$response = $hapi->holidays($parameters);

About

DEPRECATED - Official PHP library for Holiday API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages