Is there any php CalDav client library?

Noppol Pilukruangdet picture Noppol Pilukruangdet · Mar 8, 2011 · Viewed 10k times · Source

I install my own CalDav Server using Chandler Cosmo or DAViCal Calendar Server. I wanna use php as a CalDAV Client. But I cannot see a php library like a caldav4j in java.

Does anyone have a recommended library or have some advice to do this in the other way ?

Answer

karora picture karora · Mar 14, 2012

DAViCal includes inc/caldav-client-v2.php which provides a library of useful PHP methods to enable development of a client. It also includes a basic script in scripts/sync-remote-caldav.php which can be used for (e.g.) synchronising a DAViCal calendar with a remote calendar via CalDAV.

Very recent versions of DAViCal also include code to allow an "external binding" where a calendar which appears to be in DAViCal is actually external.