Sandman
Sandman

Reputation: 2379

Building a CalDAV-server in PHP?

Ok, so I'm the author of a CMS and I'm interested in building a CalDAV-server that enables the user to interface with my CMS through CalDAV instead of only through the web, so they can see their calendars, add todos and things like that.

I've looked at http://www.davical.org/ which is a CalDAV service built in PHP, but it has its own database and I already have the DB stuff done and just want a middle-layer services that translates, both ways, to and from my databases using my functions.

Any ideas?

Upvotes: 7

Views: 27834

Answers (3)

You should definitely have a look at Baïkal. It's a lightweight caldav and carddav server distribution based on SabreDAV and SQLite3.

http://baikal-server.com/

Upvotes: 7

Sudhir Bastakoti
Sudhir Bastakoti

Reputation: 100205

SabreDAV http://sabre.io/dav/caldav/ can be of some help.

Upvotes: 13

karora
karora

Reputation: 1305

DAViCal also has hooks that you can use to synchronise with your own table structure, in particular it has this hook which is called whenever a change occurs within a calendar:

http://wiki.davical.org/w/Configuration/hooks/log_caldav_action

Upvotes: 0

Related Questions