承接 makinuk/icalendar 相关项目开发

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

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

makinuk/icalendar

最新稳定版本:v2.1.0

Composer 安装命令:

composer require makinuk/icalendar

包简介

iCalendar is a computer file format which allows Internet users to send meeting requests and tasks to other Internet users

README 文档

README

iCalendar is a computer file format that allows Internet users to send meeting requests and tasks to other Internet users

This project follows RFC 5545

Composer

composer require makinuk/icalendar>=1.0

Example Usage

require_once "../vendor/autoload.php";

$ical = new makinuk\ICalendar\ICalendar();
$event = new makinuk\ICalendar\ICalEvent();

$event->setUId("11223344")
        ->setStartDate(strtotime("+24 hours"))
        ->setEndDate(strtotime("+25 hours"))
        ->setSummary("Summary is here")
        ->setDescription("Description area is here")
        ->setLocation("Istanbul")
        ->setOrganizer(new makinuk\ICalendar\ICalPerson("Mustafa AKIN", "user@domain.com"))
        ->setAlarm(new makinuk\ICalendar\ICalAlarm(0, 1, 10, 0));

$ical->addEvent($event);

//$ical->getCalendarText();
//$ical->show();
$ical->saveToFile(dirname(__FILE__).DIRECTORY_SEPARATOR."simpleEventAdd.ics");

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-09