Adds a parent field and breadcrumbs to collections so documents can nest inside each other
Cloudflare R2 Storage
Stores Payload upload files in Cloudflare R2 buckets instead of local disk
Installation
pnpm add @payloadcms/storage-r2 About
Cloudflare R2 Storage moves the files uploaded to your Payload collections into a Cloudflare R2 bucket, so media stays off the server's disk. Files are served from the bucket, and removing a document also removes its file from R2. You choose which upload collections use R2, and each collection can get its own folder prefix inside the bucket.
Large files can be sent from the browser in chunks straight through Payload before the document is created. Optional S3-style API credentials are needed only for file versioning operations that copy objects inside the bucket.
Package info
- Package name
@payloadcms/storage-r2- Latest version
3.94.0- Unpacked size
- 96 kB
- License
- MIT
- Weekly downloads
- 64.1k
- Last publish
- Nov 17, 2026
More from payloadcms
View profileSends Payload server errors and selected HTTP errors to Sentry with user context
Adds an SEO tab with meta title, description, image and search preview to collections
Stores collection uploads in Vercel Blob Storage instead of local disk
Lets one Payload admin panel manage content for many separate tenants
Editor support for Payload component paths, with import checks and autocomplete
Similar adapters
More in StorageStores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads
Routes Payload upload collections to a custom or third-party cloud storage adapter