I install my own CalDav Ser开发者_StackOverflow中文版ver 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 ?
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.
Is this what you're looking for? It's a php class (caldav-client.php
) from DAViCal that can connect to a CalDAV server.
精彩评论