php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13048 libical / iCalendar support
Submitted: 2001-08-30 00:45 UTC Modified: 2014-12-28 18:01 UTC
Votes:6
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: liamr at umich dot edu Assigned: kalle (profile)
Status: Closed Package: *General Issues
PHP Version: 4.0.6 OS: solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: liamr at umich dot edu
New email:
PHP Version: OS:

 

 [2001-08-30 00:45 UTC] liamr at umich dot edu
It would be swell if php had iCalendar functionality - to provide calendaring interoperability with other products such as Lotus Notes and MS Outlook.

http://www.imc.org/ has the RFCs on it.

and a libical is available from 
http://www.softwarestudio.org/

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-12 14:49 UTC] recht at braindump dot dk
Well, I have implemented some basic libicalsupport in a php extension which can be found at http://www.braindump.dk/dk/wiki/index?wikipage=ICalendarExtension

It's in no way complete, but it has the functions I need...
 [2003-05-31 11:00 UTC] andrey@php.net
assigning to myself.
 [2003-07-29 21:54 UTC] glamm at a-s-i dot com
Is anyone currently working on this?  I have an implementation that is about 25% complete at the moment based on PHP 4.3.2 and libical 0.23.  The page at braindump.dk appears to have been taken offline.
 [2003-08-12 18:05 UTC] recht at braindump dot dk
The company hosting my site went down, so my extension can be found at
http://www.itcampus.dk/studenternet/ical-0.2.tar.gz
if anybody is interested.
 [2003-08-13 10:25 UTC] glamm at a-s-i dot com
In the time since I posted I've written up a nearly-complete implementation of the libical bindings, but I took a different approach: I treated each type as a class, with the ultimate goal of writing PHP code like so:

  $x = ical_new_vcalendar();
  $y = ical_new_vevent();
  $y->add_property(...);
  $y->add_property(...);
  $x->add_component($y);
  print $x->ical_string();

Comments?  Personally, I would prefer that we had a coordinated effort on this rather than developing two incompatible versions of the libical bindings; feel free to contact me directly at the email address shown above.
 [2003-08-22 16:01 UTC] glamm at a-s-i dot com
Example implementation including parser and calendar manipulation functionality is located at

http://www.a-s-i.com/~glamm/ical/

Despite the "alpha" tag, most of it works.
 [2004-01-12 16:55 UTC] glamm at a-s-i dot com
Just an update -

I don't plan to make the ical extension I've listed anything more than a beta/patch to PHP 4.  Instead, the ical extension will be targeted to PHP 5 using the improvements in the Zend engine (__construct()/__destruct(), __toString(), static methods, class constants, etc.).  The library that the ical extension is based on fits the improvements in ZE2 better than the engine in PHP 4.

I expect it will be a few months before it's complete, however.
 [2009-03-20 19:36 UTC] mozilla at kewis dot ch
Hello. Any update on this bug? Bob, where did you move your parser work? Do you still have it?
 [2010-08-18 12:38 UTC] andrey@php.net
-Package: Feature/Change Request +Package: *General Issues -Assigned To: andrey +Assigned To:
 [2014-12-28 18:01 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2014-12-28 18:01 UTC] kalle@php.net
Since there was a lot of work done it seems on such function, it should be proposed to be moved into PECL if this is still desired, but chances that we will implement a new extension and directly submit to the core is really rare nowadays so I'm closing this.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 01:01:35 2025 UTC