Code Monkey home page Code Monkey logo

simplecaldav's Introduction

simpleCalDAV

Copyright 2014 Michael Palm <[email protected]>

Table of content
1. About
2. Requirements
3. Installation
4. How to get started
5. Example Code

------------------------

1. About

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.

It contains the following functions:
  - connect()
  - findCalendars()
  - setCalendar()
  - create()
  - change()
  - delete()
  - getEvents()
  - getTODOs()
  - getCustomReport()

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.

This library is heavily based on AgenDAV caldav-client-v2.php by Jorge López Pérez <[email protected]> which again is heavily based on DAViCal caldav-client-v2.php by Andrew McMillan <[email protected]>.
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.


2. Requirements

Requirements of this library are
  - The php extension cURL ( http://www.php.net/manual/en/book.curl.php )


3. Installation

Just navigate into a directory on your server and execute
git clone https://github.com/wvrzel/simpleCalDAV.git

Assure yourself that cURL is installed.

Import SimpleCalDAVClient.php in your code and you are ready to go ;-)


4. How to get started

Read the comments in SimpleCalDAVClient.php and the example code.


5. Example Code

Example code is provided under "/example code/".

simplecaldav's People

Contributors

wvrzel avatar sokai avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.