Seed

Type-safe seed data for Payload with typed document references and inline uploads

Community 19 74/wk MIT v0.8.5

Installation

pnpm add @pro-laico/payload-seed

About

Seed Plugin fills a Payload database with starter content, test fixtures, or demo data from seed files written in TypeScript. Instead of copying raw document IDs between records, you point to other documents with typed references, and the plugin works out the order in which dependent documents must be created. Files you want to attach can be included inline and are uploaded as part of the same run.

Seeding can be started from a button in the admin panel or through an HTTP endpoint, so a team can reset a staging site without touching the database by hand. The plugin also writes a registry of seed references into the generated Payload types, so editors in your IDE know which seeded records exist.

Package info

Package name
@pro-laico/payload-seed
Latest version
0.8.5
Unpacked size
218 kB
License
MIT
Weekly downloads
74
Last publish
Aug 14, 2026

More from pro-laico

View profile

Next.js cache revalidation that clears only the tags a Payload change touches

Uploads videos from Payload straight to Mux with signed or public playback

On-demand image resizing, focal crops and placeholders for Payload uploads

Icon library for Payload: SVG upload collection with cleanup and an inline icon component

Manages custom font files in Payload and serves them as subsetted WOFF2

Adds a floating dev toolbar and in-app developer pages to Payload projects

Similar plugins

More in Migration

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

Stores DNA reference panels and reviewed sample results in Payload collections

Studbook numbers, kinship and inbreeding analysis for managed animal populations

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

Fills a Payload test database with realistic, removable sample records

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