2017 © Pedro Peláez
 

library php-holidayapi

Official PHP library for Holiday API

image

joshtronic/php-holidayapi

Official PHP library for Holiday API

  • Friday, August 12, 2016
  • by joshtronic
  • Repository
  • 3 Watchers
  • 12 Stars
  • 8,808 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 2 Forks
  • 2 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

php-holidayapi

Official PHP library for Holiday API, (*1)

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);

The Versions

12/08 2016

dev-master

9999999-dev https://github.com/joshtronic/php-holidayapi

Official PHP library for Holiday API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

holiday holidays holidayapi

12/08 2016

1.0.0

1.0.0.0 https://github.com/joshtronic/php-holidayapi

Official PHP library for Holiday API

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

holiday holidays holidayapi