PHPackages                             steve-brett/shcalendar - 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. steve-brett/shcalendar

ActiveProject

steve-brett/shcalendar
======================

Sacred Harp recurring event calculator

v1.9.0(7mo ago)291[3 issues](https://github.com/steve-brett/shcalendar/issues)[1 PRs](https://github.com/steve-brett/shcalendar/pulls)GPL-3.0-or-laterPHPCI passing

Since Aug 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/steve-brett/shcalendar)[ Packagist](https://packagist.org/packages/steve-brett/shcalendar)[ RSS](/packages/steve-brett-shcalendar/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (2)Versions (34)Used By (0)

shcalendar
==========

[](#shcalendar)

Formula date manager for Sacred Harp singings

Annual Sacred Harp singings are organised using date formulae, usually relating to the day's position in the month (e.g. second Sunday), or a special date (e.g. Palm Sunday).

This tool allows for human input of what could be a quite complex recurrence rule by finding all likely formulae for a specific date. The user can then choose their singing formula from a list of options, and then generate future dates.

The current formula uses an array format that extends the [RFC 5545](https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html) format used by [rlanvin/php-rrule](https://github.com/rlanvin/php-rrule).

- `OFFSET : string`The offset of the event from the reference day, using the same format as `BYDAY`.
- `STARTOFFSET : int`For multi-day events, how many days the start of the event is before the end.
- `SPECIAL : string`The key of an array of special events.

Examples
--------

[](#examples)

The Saturday before the second Sunday in May

```
['BYMONTH' => 5,
   'BYDAY' => '2SU',
  'OFFSET' => '-1SA']
```

The second Saturday in February

```
['BYMONTH' => 2,
   'BYDAY' => '2SA']
```

The third Sunday in September and the Saturday before

```
[   'BYMONTH' => 9,
      'BYDAY' => '3SU',
'STARTOFFSET' => -1]
```

The Saturday after the Whitsun bank holiday

```
['SPECIAL' => 'whitsun',
  'OFFSET' => '1SA']
```

The Saturday before the first fifth Sunday after the 4th July (yes, this is a real singing!)

```
['SPECIAL' => '5SU47',
  'OFFSET' => '-1SA']
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance54

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~91 days

Recently: every ~218 days

Total

20

Last Release

213d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a5dfb1aee6a4f226eb178bcf3d932a1adbf6d1232fd995f213c2e31524351c?d=identicon)[steve-brett](/maintainers/steve-brett)

---

Top Contributors

[![steve-brett](https://avatars.githubusercontent.com/u/10950111?v=4)](https://github.com/steve-brett "steve-brett (614 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/steve-brett-shcalendar/health.svg)

```
[![Health](https://phpackages.com/badges/steve-brett-shcalendar/health.svg)](https://phpackages.com/packages/steve-brett-shcalendar)
```

###  Alternatives

[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)[unionco/calendarize

A calendar field type providing functionality for recurrence.

1827.2k](/packages/unionco-calendarize)[elabx/fieldtype-recurring-dates

Field to setup recurring dates using RRule

104.2k](/packages/elabx-fieldtype-recurring-dates)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
