PHPackages                             hmuenzer/recurrence - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hmuenzer/recurrence

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hmuenzer/recurrence
===================

This tool helps with rrule evaluations as defined by RFC 5545

146

Since Mar 29Compare

[ Source](https://github.com/hmuenzer/recurrence)[ Packagist](https://packagist.org/packages/hmuenzer/recurrence)[ RSS](/packages/hmuenzer-recurrence/feed)WikiDiscussions Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Why is this here?
-----------------

[](#why-is-this-here)

This PHP class is a small part of a closed source PHP project of mine.

I use open source at a regular basis, so it is time for me to give something in return.

There are some PHP based scripts out here, that do the calculation as well, but either they are incomplete or they are pretty complex (and incomplete too).

If you only need the calculation, this might be of help.

So, here it is.

How to use this
---------------

[](#how-to-use-this)

```

```

Feature List
------------

[](#feature-list)

This class supports all recurrence properties as defined by RFC 5545 for a single "VEVENT", "VTODO" or "VJOURNAL" calendar component:

- EXDATE, RDATE and RRULE
- DTSTART, DTEND and DURATION
- Frequeny: SECONDLY to YEARLY
- INTERVAL, COUNT and UNTIL
- All BYxxx rule parts and all possible combinations (even the maniac ones)
- WKST and TZID (Weeknumbering like specified by RFC 5545)
- Recurring anniversary / allday events

Not supported are exceptions defined by RECURRENCE-ID because this needs parsing the whole ical-file and this class is not capable of this. Timezone calculation is done with timezone informations supported by PHP, not with the ones defined by VTIMEZONE calendar components.

More examples
-------------

[](#more-examples)

```
