Seed

Fills a Payload test database with realistic, removable sample records

Community 0 284/wk MIT v0.4.1

Installation

pnpm add @extantape/payload-plugin-seed

About

Seed fills a test database with realistic records for every collection in a Payload site. It reads the schema and creates records in dependency order, so each select option, empty and full case, and relationship shape appears at least once instead of random rows piling up. Records go through Payload's normal validation and hooks, and anything the site rejects is reported with the reason.

Every seeded document is marked and stored in a batch, so a whole run, one batch, or a single collection can be removed in reverse order without touching real data. It refuses to run in production and writes nothing until the test database has been marked. A CI check can compare a coverage plan with the Payload config and flag new fields the seed does not yet cover.

Package info

Package name
@extantape/payload-plugin-seed
Latest version
0.4.1
Unpacked size
214 kB
License
MIT
Weekly downloads
284
Last publish
Nov 13, 2026

More from ExtantApe

View profile

Birth month and year check at sign-up that flags minors by country and region

Linked accounts and role hats, with a second factor before switching to a sensitive role

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Browses large nested document trees one level at a time with live counts

Stores DNA reference panels and reviewed sample results in Payload collections

Studbook numbers, kinship and inbreeding analysis for managed animal populations

Similar plugins

More in Migration

Adds CSV and JSON import and export to selected collections with background jobs

Taxonomy snapshots, imports and a read API for classifications and trees

Switch the admin panel between production and development databases, and copy production down

Scheduled and on-demand PostgreSQL backups with selective restore to S3 or Vercel Blob