vnphp/calendar

用于处理日历API的简单API

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

This package is not auto-updated.

Last update: 2024-09-18 19:39:28 UTC


README

build status code quality

安装

composer require vnphp/calendar --prefer-source

您需要安装 git

使用

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