vnphp / calendar
Simple API to work with calendar APIs
v0.2
2016-09-07 10:58 UTC
Requires
- kriswallsmith/buzz: ^0.15.0
Requires (Dev)
- phpunit/phpunit: ^5.5
This package is not auto-updated.
Last update: 2024-10-30 20:15:36 UTC
README
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);