forked from fangel/SG-iCalendar
-
Notifications
You must be signed in to change notification settings - Fork 2
A PHP5 OOP iCalendar parser
tpruvot/PHP-iCal
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple and fast iCal parser. ------------------------------------------------------------------------------- http://github.com/tpruvot/PHP-iCal fork from http://github.com/fangel/SG-iCalendar ------------------------------------------------------------------------------- A simple example : $ical = new SG_iCalReader( "./basic.ics" ); //or $ical = new SG_iCalReader( "http://example.com/calendar.ics" ); foreach( $ical->getEvents() As $event ) { // Do stuff with the event $event } To check unit tests with phpunit, goto tests/ directory and : phpunit AllTests phpunit helpers/FreqTest ------------------------------------------------------------------------------- CHANGELOG : ------------------------------------------------------------------------------- current (31 oct 2010) + ical RDATE support (added dates in a range) + RDATE and EXDATE arrays support 0.7.0-tpr (30 oct 2010) + ical EXDATE support (excluded dates in a range) + $event->isWholeDay() + getAllOccurrences() for repeated events + implemented a cache for repeated events 0.6.0-tpr (29 oct 2010) + Added demo based on fullcalendar + Added duration unit tests + Support of Recurrent events in query Between() * various fixes on actual (5) issues ------------------------------------------------------------------------------- TODO : ------------------------------------------------------------------------------- These iCal keywords are not supported for the moment : - RECURRENCE-ID : to move one event from a recurrence - EXRULE : to exclude multiple days by a complex rule Also, multiple RRULE could be specified for an event, but that is not the case for most calendar applications ------------------------------------------------------------------------------- To get more information about ical format and rules : see http://www.ietf.org/rfc/rfc2445.txt
About
A PHP5 OOP iCalendar parser
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- JavaScript 61.9%
- PHP 37.9%
- Shell 0.2%