selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Payload CMS logo

Self-host Payload CMS

v3.93.0

Code-first headless CMS built into your Next.js app

ReleaseOpen SourceMIT
Updatedlast week
LanguageTypescript
Setup difficultyModerate
ThemeDark mode
Stars
45 827
Install with Vercel
Admin Panel view of a collection that has authentication enabledCollage of admin panel components: fields, lists and viewsUser list and login dialog in the admin panel

What is Payload CMS?

Payload CMS alternatives

All self-hosted alternatives to Contentful → All self-hosted alternatives to Sanity → All self-hosted alternatives to Directus →

Should you self-host Payload CMS?

Payload CMS scores 82/100 on selfhost.directory (how scoring works) and ranks #2 of 13 in Headless CMS. It has 45 827 GitHub stars, +630 in the last 30 days.

It shipped 21 stable releases in the past year. The latest, v3.93.0, came out on 4 November 2026. New versions land roughly every 7 days.

Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Ghost (84/100, 55 826 stars). It scores higher overall, so compare the two before you pick. See Payload CMS vs Ghost side by side.

Features

  • Auto-generated admin panel
  • Block-based page builder
  • Built-in user authentication
  • Conditional field logic
  • Custom UI components and white-labeling
  • Drafts and versioning
  • File uploads and image manipulation
  • Granular Access Control
  • GraphQL API
  • Live Preview
  • Localization
  • Multi-language admin UI
  • Plugin System
  • REST API
  • Rich Text Editor

Payload CMS README

How to install Payload CMS

Install Payload CMS with Vercel

All-in-one on Vercel — one click to deploy Payload with a Next.js front end, Neon database, and Vercel Blob for media storage.

Deploy with Vercel

One-click serverless deployment

How to configure Payload CMS

  • PAYLOAD_SECRETSecret string used in the Payload Config, should be complex and unguessable
  • DATABASE_URLConnection string handed to the chosen Database Adapter
  • SERVER_URLBase URL of the app, used as serverURL in the Payload Config

Payload CMS releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What happens if I edit the import map file directly?

Your changes are overwritten on the next startup or hot reload; instead set component paths in the Payload config and let it rebuild the import map.

Why does layout.tsx say "DO NOT MODIFY" if I need to edit it?

The warning is misleading: the file is generated during initial setup but never regenerated, so editing it is safe, e.g. when adapting the folder structure.

Which auto-generated files can I safely modify?

Most files inside the (payload) folder are created once and safe to change; only the importMap.js file is regenerated automatically.

Can I move the Payload admin panel to a custom location?

Yes, the admin panel can be mounted at custom routes such as /dashboard or /cms, or nested paths like /admin/content.

More in Headless CMS

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…