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
  • 13 Stars
  • 10,764 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 3 Forks
  • 3 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

This repository has moved to https://github.com/holidayapi/php-holidayapi

The PHP package has also been renamed from joshtronic/php-holidayapi to holidayapi/holidayapi-php, (*1)

This repository has been archived., (*2)


php-holidayapi

Official PHP library for Holiday API, (*3)

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