cti/ics 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cti/ics

最新稳定版本:0.4

Composer 安装命令:

composer require cti/ics

包简介

ics management

README 文档

README

Build Status Code Climate

Aim of current library is to allow easy manipulation of .ics files.

Install

Using Composer

Add

  "cti/ics": "0.1"

to the "require" section of your composer.json file.

Usage

Named calendar, with timezone, and two events

// initialise calendar
$calendar = new Calendar('Automated Test', 'Europe/London');

// add events to it
$calendar->add(new Event\Interval('2015-03-13 10:05:00', '2015-03-13 10:19:59', 'Daily scrum'));
$calendar->add(new Event\Interval('2015-03-13 10:30:00', '2015-03-13 10:49:59', 'Weekly project review'));

Saving to file

$path = '/tmp/generated.ics';
$generator = new Generator(new FileOutput($path));
$generator->calendar($calendar)->getOutput()->getAll();

Output to string

// grab the output in a string for later usage
$generator = new Generator(new StringOutput());
$output = $generator->calendar($calendar)->getOutput()->getAll();

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 23
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-12