bradym.net

Random thoughts of a Code Monkey
  • Home
  • About Me
  • JavaScript
  • Misc
  • MySQL
  • PHP
  • Windows
Home > PHP > Creating iCalendar (ics) files with PHP

Creating iCalendar (ics) files with PHP

August 15th, 2009 Leave a comment Go to comments

This post was originally written several years ago and included my own attempt at building a very simple ical creator in PHP. I’ve been meaning to update this blog with some better code and information for quite some time. I finally found what I consider to be a very good class for creating iCalendar files using PHP: iCalcreator. Along with creating iCalendar files, iCalcreator can also parse and merge iCalendar files, and spit out a modified version. There are lots of examples available for download on their site, as well as supporting utilities.

The iCalcreator documentation is excellent. The examples are easy to follow, and they clearly document how to use their class. Unfortunately, the iCalendar specification is complicated enough that you’ll still need to read rfc2445 to really take advantage of all of the options available to you. Some good iCalendar reference sites include:

  • iCalendar – Wikipedia
  • iCalendar Specification Excerpts
  • Entire iCalendar Specification (rfc2445)

Since I haven’t actually built anything using iCalcreator yet (other than some quick test scripts earlier today) I can’t really answer any questions about its usage. The good news is they have a forum on sourceforge for questions. I’d love to hear about your experiences using iCalcreator, so feel free to leave your comments below.

Categories: PHP Tags: iCalendar, ics, PHP
Comments (5) Leave a comment
  1. Darryl Hadfield
    August 18th, 2009 at 11:23 | #1
    Reply | Quote

    While it might be ‘excellent’, their sample doesn’t work.

  2. Hosting
    September 1st, 2009 at 06:17 | #2
    Reply | Quote

    Your blog is so informative

  3. Winge
    September 1st, 2009 at 18:48 | #3
    Reply | Quote

    I love your article! Thank You. roulette software

  4. Falter
    September 8th, 2009 at 11:50 | #4
    Reply | Quote

    thanks wwww.suatsezgin.com http://www.suatsezgin.com

  5. Luke Visinoni
    January 23rd, 2010 at 10:17 | #5
    Reply | Quote

    I am the author of an iCalendar library written for PHP5. It is in heavy development right now and is approaching its first stable release (v0.1.0). The most current version as of now is qCal-v0.0.2 and v0.0.3 will be released on January 28th (there is a new release every other Thursday).

    qCal Home Page
    qCal Related Blog Posts

    I am also working on the documentation for the library, which I intend to also be the #1 reference for people trying to learn about the iCalendar specification.

    qCal Documentation

Subscribe to comments feed

Simple PHP Syntax Highlighting
Top
Copyright © 2008-2009 bradym.net