vnphp/calendar

Simple API to work with calendar APIs

v0.2 2016-09-07 10:58 UTC

This package is not auto-updated.

Last update: 2024-12-11 21:03:45 UTC


README

build status code quality

Installation

composer require vnphp/calendar --prefer-source

You need to have git installed.

Usage

<?php

$calendar = new \Vnphp\Calendar\GoogleCalendar('uk.ukrainian#holiday@group.v.calendar.google.com', 'your_api_key');
$independenceDay = new \DateTime('24-08-2016');
$calendar->isHoliday($independenceDay);