The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects