Dynamic Collections

Lets Payload collections be created and changed at runtime without a rebuild

Community 1 2/wk MIT v2.0.0

Installation

pnpm add @dan-haub/payload-dynamic-collections

About

Dynamic Collections lets a Payload project change its collection schemas while the server is running. Normally a new collection or field means editing code and redeploying. With this plugin, the schema can be regenerated at runtime, so content types can follow changing business needs without a code release.

The plugin is a good fit for multi-tenant or configurable products where each customer or team needs its own content structure. The project is an early-stage package, so check its current state before relying on it in production.

Package info

Package name
@dan-haub/payload-dynamic-collections
Latest version
2.0.0
Unpacked size
292 kB
License
MIT
Weekly downloads
2
Last publish
Feb 6, 2024

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other