PHP currently seems to lack proper iCalendar libraries.
Since there already is a LibicalWrap.i for the Python
bindings, it's not very hard to make a libical .so that
can be accessed from PHP. Would be a valuable building
block in the practical adoption of the iCalendar
I'm attaching a Makefile how I whipped together the
.so, and a small example of how to use the resulting
library. Obviously this is not good enough for in the
official distribution, but it'll probably give you an
idea of how to make a PHP binding.
Note that older versions of SWIG contain a bug that
make the resulting .so segfault when trying to pass a
component to a function. SWIG 1.3.22 certainly doesn't
have this problem, not sure when exactly it was fixed.