9

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 ?

Gramero
  • 1,835
  • 3
  • 24
  • 26
  • 1
    possible duplicate of [php library or client for a caldav server](http://stackoverflow.com/questions/7819468/php-library-or-client-for-a-caldav-server) – paulmorriss Sep 18 '13 at 16:20

2 Answers2

4

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.

karora
  • 1,223
  • 14
  • 31
  • Does it support Digest Authentication? –  Nov 06 '22 at 13:50
  • I don't think so. Digest is fundamentally insecure and really should not be used other than in extremely tightly controlled environments, and really even not then. – karora Nov 07 '22 at 22:08
  • @kaora and what do you reccomend, the basic access authentication ? :)) –  Nov 08 '22 at 10:21
2

Is this what you're looking for? It's a php class (caldav-client.php) from DAViCal that can connect to a CalDAV server.

Kevin Arthur
  • 982
  • 1
  • 6
  • 5