simpleCalDAV
Build status:
, (*1)
This library is just a porting for packagist of https://github.com/wvrzel/simpleCalDAV, (*2)
Examples of use
simpleCalDAV, (*3)
Copyright 2014 Michael Palm palm.michael@gmx.de, (*4)
Table of content, (*5)
- About
- Requirements
- Installation
- How to get started
- Example Code
1) About, (*6)
simpleCalDAV is a php library that allows you to connect to a calDAV-server to get event-, todo- and free/busy-calendar resources from the server, to change them, to delete them, to create new ones, etc.
simpleCalDAV was made and tested for connections to the CalDAV-server Baikal 0.2.7. But it should work with any other CalDAV-server too., (*7)
It contains the following functions:
- connect()
- findCalendars()
- setCalendar()
- create()
- change()
- delete()
- getEvents()
- getTODOs()
- getCustomReport(), (*8)
All of those functions are really easy to use, self-explanatory and are deliverd with a big innitial comment, which explains all needed arguments and the return values., (*9)
This library is heavily based on AgenDAV simple-caldav-client-v2.php by Jorge López Pérez jorge@adobo.org which again is heavily based on DAViCal caldav-client-v2.php by Andrew McMillan andrew@mcmillan.net.nz.
Actually, I hardly added any features. The main point of my work is to make everything straight forward and easy to use. You can use simpleCalDAV whithout a deeper understanding of the calDAV-protocol., (*10)
2) Requirements, (*11)
Requirements of this library are
- The php extension cURL ( http://www.php.net/manual/en/book.curl.php ), (*12)
3) Installation, (*13)
Just navigate into a directory on your server and execute
git clone https://github.com/wvrzel/simpleCalDAV.git, (*14)
Assure yourself that cURL is installed., (*15)
Import SimpleCalDAVClient.php in your code and you are ready to go ;-), (*16)
4) How to get started, (*17)
Read the comments in SimpleCalDAVClient.php and the example code., (*18)
5) Example Code, (*19)
Example code is provided under "/example code/"., (*20)