views:

100

answers:

1

Ruby, Java, and Python all have several very good libraries which allow you to handle rfc2445's rrule very well.

I've done an extremely comprehensive search for a class/library which will handle the rrule and return dates of recurrence, however I haven't found 1 library in PHP will do it.

I am going to begin to write a PHP library which similar functionality to Ruby's ice_cube, however before I begin I just want to ensure I'm not reinventing the wheel.

So that brings me to this question, am I reinventing the wheel? Did I fail to find a library already written which handles date recurrence in PHP?

+1  A: 

After a thorough search I've determined that there is most likely not an open source date recurrence library written in PHP, so I have written my own.

I'm pleased to announce that I have released the initial version of a date recurrence library called When.

evolve
Looks nice at first glance. Do you plan on supporting the ability to pass a raw RRULE string into the class with a start date? That would be ideal in cases where the UI passes that back from a recurrence control. No need for everyone to figure out the parsing step individually.
bmoeskau
Thanks for the suggestion, I have gone ahead and implemented the feature. If you have any further suggestions feel free to message me or add it as a issue on github.
evolve
Awesome, thanks! I will check that out the update and provide feedback -- this came at the perfect time for a project I'm working on. Thanks!
bmoeskau