承接 endroid/calendar 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

endroid/calendar

Composer 安装命令:

composer require endroid/calendar

包简介

Endroid Calendar

README 文档

README

By endroid

Latest Stable Version Build Status Total Downloads Total Downloads License

This library helps reading and writing calendars from and to different formats. To this end each reader converts the source to a generic calendar representation which can in turn be written to any available calendar format using one of the available writers.

Note: at this moment only read from Google Calendar is available.

Installation

Use Composer to install the library.

$ composer require endroid/calendar

Usage

<?php

use Endroid\Calendar\Reader\IcalReader;

$reader = new IcalReader();

// Read from URL or path
$calendar = $reader->readFromUrl('https://domain/calendar.ics');
$calendar = $reader->readFromPath(__DIR__.'/calendar.ics');

$dateStart = new \DateTimeImmutable('2016-01-01');
$dateEnd = new \DateTimeImmutable('2016-12-31');

$events = $calendar->getEvents($dateStart, $dateEnd);

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.

统计信息

  • 总下载量: 14.58k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固