Adds events and event dates collections to Payload, where an event can be one-time, reusable or recurring. Repeat rules are built from plain choices and computed in each event's timezone. Admin tools cover a duplicate check, splitting and merging events, and ICS endpoints. Requires Payload 3.80 or later, React 19 and Node 22 or later; near-me search needs a geocode function you supply.
Events for Payload: events and their dates, with repeat rules in the event's timezone, near-me search, appearances, merge and split, and calendar files.
Installation
npm i @extantape/payload-plugin-events0
Stars
0
Forks
0
Open Issues
1 weeks ago
Last Updated
167
Weekly Downloads
v0.2.1
npm Version
116.9 KB
Unpacked Size
1
Dependencies
00 since Nov 8
| Date | Stars |
|---|---|
| Dec 6, 2026 | 0 |
| Dec 5, 2026 | 0 |
| Dec 4, 2026 | 0 |
| Dec 3, 2026 | 0 |
| Dec 2, 2026 | 0 |
| Dec 1, 2026 | 0 |
| Nov 30, 2026 | 0 |
| Nov 29, 2026 | 0 |
| Nov 28, 2026 | 0 |
| Nov 27, 2026 | 0 |
| Nov 26, 2026 | 0 |
| Nov 25, 2026 | 0 |
| Nov 24, 2026 | 0 |
| Nov 23, 2026 | 0 |
| Nov 22, 2026 | 0 |
| Nov 21, 2026 | 0 |
| Nov 20, 2026 | 0 |
| Nov 19, 2026 | 0 |
| Nov 18, 2026 | 0 |
| Nov 17, 2026 | 0 |
| Nov 16, 2026 | 0 |
| Nov 15, 2026 | 0 |
| Nov 14, 2026 | 0 |
| Nov 13, 2026 | 0 |
| Nov 12, 2026 | 0 |
| Nov 11, 2026 | 0 |
| Nov 10, 2026 | 0 |
| Nov 9, 2026 | 0 |
| Nov 8, 2026 | 0 |
196+196 since Nov 11
| Date | Weekly downloads |
|---|---|
| Dec 6, 2026 | 196 |
| Dec 5, 2026 | 392 |
| Dec 4, 2026 | 564 |
| Dec 3, 2026 | 596 |
| Dec 2, 2026 | 613 |
| Dec 1, 2026 | 620 |
| Nov 30, 2026 | 651 |
| Nov 29, 2026 | 718 |
| Nov 28, 2026 | 531 |
| Nov 27, 2026 | 364 |
| Nov 26, 2026 | 337 |
| Nov 25, 2026 | 313 |
| Nov 24, 2026 | 284 |
| Nov 23, 2026 | 248 |
| Nov 22, 2026 | 317 |
| Nov 21, 2026 | 287 |
| Nov 20, 2026 | 275 |
| Nov 19, 2026 | 243 |
| Nov 18, 2026 | 224 |
| Nov 17, 2026 | 196 |
| Nov 16, 2026 | 181 |
| Nov 15, 2026 | 0 |
| Nov 14, 2026 | 703 |
| Nov 13, 2026 | 638 |
| Nov 12, 2026 | 0 |
| Nov 11, 2026 | 0 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1451951315-root)<a href="https://payloaddirectory.dev/plugins/1451951315-root"><img src="https://payloaddirectory.dev/badge/1451951315-root.svg" alt="Payload Directory"></a>README
Events for Payload: events and their dates, with repeat rules in each event's own timezone, near-me search, appearances and drop-off, a duplicate check, merge and split, and calendar files.
Status: early, 0.x. The core passes 36 tests against a real Payload 3.92 and MongoDB with made-up events. The admin screens (live rule preview, the duplicate check, Arrange dates, organizer suggestions) were tried in a browser on a local copy of a real site with made-up events, with axe finding nothing in them. It isn't in use on any site yet.
topUpRecurring nightly to keep that topped up.geocode function turns a venue into a map point. nearbyDates and dropOffDates search by distance, and drop-off defaults to 150 miles and 2 weeks to 4 months ahead.findSimilar matches a similar name, the same organizer or website, or the same venue within a day, and returns the question to ask. "Not a duplicate" is remembered.arrangeDates splits dates into new events. mergeEvents folds events into one reusable event; their old addresses lead to it, through eventBySlug.
GET /api/events/:id/ics gives a recurring event as one entry with its rule, so calendars repeat it. GET /api/event-dates/:id/ics gives one date.Not built here: the site's own pages, and anything about kits or orders. A site protects dates it depends on through protectDate.
On its own: Events needs only Payload. Give it a geocode function if you want near-me and drop-off searches, and a protectDate check if anything on your site depends on a date.
Needs: Payload ^3.80.0, @payloadcms/ui ^3.80.0 and React ^19.0.0 as peer dependencies. No other EXTANT APE plugin is required.
Works with:
dropOffDates onto Sample Kits' adapters.events.dropOffChoices, so buyers can hand kits in at an event, and protectDate can protect a date that has kits booked, as in Use. Events knows nothing about kits.It doesn't need any other plugin, and nothing here is specific to one.
Color Theory: no direct link. Its duplicate check in the admin uses Payload's --theme-* colors, so it follows Color Theory's admin colors when its applyToAdmin option is on.
Family: Events has no family on purpose: it's meant to work with any plugin. The families are a working draft, and Fulfillment is due to be split.
npm install @extantape/payload-plugin-events
Needs Payload 3.80 or later, React 19 and Node 22 or later.
import { events } from '@extantape/payload-plugin-events'
events({
copyToDates: ['tenant'],
defaultTimezone: 'America/Phoenix',
appearances: { label: 'We’ll be there' },
geocode: async ({ venue }) => lookUpPostalCode(venue.postalCode),
protectDate: async ({ date }) => ((await ordersFor(date.id)) ? 'Kits are booked for this date.' : null),
access: { write: ({ req }) => isStaff(req.user) },
})
access.write lets in, and only where it lets them (a write rule that returns a query limits draft reads the same way). Pass access.read to replace this.copyToDates) always come from the event: a value sent with a date is replaced, on create, on every edit and when the date moves to another event. So a date can't claim another site.access.write is a Payload Access function. It decides who creates, edits and deletes events, who reads drafts, and who uses the admin endpoints (rule preview, duplicate check, "not a duplicate", Arrange dates, merge). It can answer three ways:
| Answer | Means |
|---|---|
true | Any event |
A query, such as { tenant: { in: [...] } } | Only events inside it. The endpoints load every event a request names through the query, and answer 404 if one is outside it, so a curator of one site can't arrange, merge or mark events of another, and a merge that mixes sites is refused whole |
| Anything else | No. That includes false, 1, 'yes', an empty {} (it would match every event), an array, and an error thrown or rejected. An error is a 403 (401 if nobody is signed in), never a 500 |
With no access.write, only users of your admin collection (admin.user in your Payload config, usually users) can write. Accounts from any other auth collection, such as site members, are refused.
Changed 2026-11-11 (unreleased): the default used to let any signed-in account write, members of other auth collections included, and the endpoints took any truthy answer from access.write as a yes. Sites relying on the old default must pass the option, for example access: { write: ({ req }) => Boolean(req.user) }.
npm test # Vitest, in-memory MongoDB
npm run typecheck
npm run build
MIT
payload reserve
Reservation and booking system with conflict detection, status workflows and a calendar admin UI
82730/wk45v3
payload plugin scheduling
Schedule future publication of drafts on collections and globals with a secured cron endpoint
77783/wk37v3
plugin action scheduler
Schedule one-off, recurring and cron actions with retries and an admin dashboard, run by Payload's job queue.
7136/wk10v3
payload plugin scheduler
Date field that queues native Payload schedulePublish jobs for drafts in collections and globals
6972/wk32v3
payload abandoned cart
Marks idle ecommerce carts abandoned, sends recovery emails, and attributes the orders that come back
6915/wk1v3
payload mailing
Template-based email with layouts, scheduling and job-queue delivery through Payload collections
68290/wk1v3