Download the PHP package relaxsd/php-icalendar without Composer
On this page you can find all versions of the php package relaxsd/php-icalendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-icalendar
php-icalendar
Fluent iCalendar creator for PHP
For the RFC, See https://www.ietf.org/rfc/rfc2445.txt
Current status:
- RFC Coverage: 80% (supports all components except
VTIMEZONE
) - Fluent interface: 70% (working on it)
- Test cases: 10% (tested just some examples from the RFC, see below.)
Examples from the RFC:
Event
The following is an example of the "VEVENT" calendar component used to represent a meeting that will also be opaque to searches for busy time:
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:19970901T1300Z
DTSTART:19970903T163000Z
DTEND:19970903T190000Z
SUMMARY:Annual Employee Review
CLASS:PRIVATE
CATEGORIES:BUSINESS,HUMAN RESOURCES
END:VEVENT
To create this event in PHP:
Audio Alarm
The following example is for a "VALARM" calendar component that specifies an audio alarm that will sound at a precise time and repeat 4 more times at 15 minute intervals:
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:19970317T133000Z
REPEAT:4
DURATION:PT15M
ACTION:AUDIO
ATTACH;FMTTYPE=audio/basic:ftp://host.com/pub/sounds/bell-01.aud
END:VALARM
To create this event in PHP:
Audio Alarm
The following example is for a "VALARM" calendar component that specifies an audio alarm that will sound at a precise time and repeat 4 more times at 15 minute intervals:
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:19970317T133000Z
REPEAT:4
DURATION:PT15M
ACTION:AUDIO
ATTACH;FMTTYPE=audio/basic:ftp://host.com/pub/sounds/bell-01.aud
END:VALARM
To create this event in PHP:
TODO Item
The following is an example of a "VTODO" calendar component:
BEGIN:VTODO
UID:[email protected]
DTSTAMP:19970901T1300Z
DTSTART:19970415T133000Z
DUE:19970416T045959Z
SUMMARY:1996 Income Tax Preparation
CLASS:CONFIDENTIAL
CATEGORIES:FAMILY,FINANCE
PRIORITY:1
STATUS:NEEDS-ACTION
END:VTODO
To create this event in PHP: