2017 © Pedro Peláez
 

library ics

ics management

image

cti/ics

ics management

  • Thursday, January 21, 2016
  • by gbtekkie
  • Repository
  • 26 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Manage .ics files

Build Status Code Climate, (*1)

Aim of current library is to allow easy manipulation of .ics files., (*2)

Install

Using Composer

Add, (*3)

  "cti/ics": "0.1"

to the "require" section of your composer.json file., (*4)

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

The Versions

21/01 2016

dev-add-url-and-location-properties

dev-add-url-and-location-properties

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers

calendar ics ical rfc 5545

20/04 2015

dev-master

9999999-dev

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers

calendar ics ical rfc 5545

20/04 2015

0.4

0.4.0.0

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers

calendar ics ical rfc 5545

20/04 2015

0.3

0.3.0.0

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers

calendar ics ical rfc 5545

17/04 2015

0.2

0.2.0.0

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers

calendar ics ical rfc 5545

13/03 2015

0.1

0.1.0.0

ics management

  Sources   Download

The Requires

 

The Development Requires

by Georgiana Gligor
by Cloudtroopers PHPers