πŸ“¦ payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

β˜… 40.0k stars β‘‚ 3.3k forks πŸ‘ 40.0k watching βš–οΈ MIT License
cmscontent-managementcontent-management-systemexpressgraphqlheadlessheadless-cmsjamstackjavascriptmit-licensemongodbnextjsnodejsopen-sourcepayloadpayloadcmspostgresreacttypescript
πŸ“₯ Clone https://github.com/payloadcms/payload.git
HTTPS git clone https://github.com/payloadcms/payload.git
SSH git clone git@github.com:payloadcms/payload.git
CLI gh repo clone payloadcms/payload
Paul Paul docs: remove csv as a language for code blocks (#15265) 259eac4 13 hours ago πŸ“ History
πŸ“‚ main View all commits β†’
πŸ“ .claude
πŸ“ .claude-plugin
πŸ“ .github
πŸ“ .husky
πŸ“ .idea
πŸ“ .stylelint
πŸ“ .vscode
πŸ“ app
πŸ“ docs
πŸ“ examples
πŸ“ packages
πŸ“ public
πŸ“ scripts
πŸ“ templates
πŸ“ test
πŸ“ tools
πŸ“„ .editorconfig
πŸ“„ .env.example
πŸ“„ .gitattributes
πŸ“„ .gitignore
πŸ“„ .node-version
πŸ“„ .nvmrc
πŸ“„ .prettierignore
πŸ“„ .prettierrc.json
πŸ“„ .swcrc
πŸ“„ .tool-versions
πŸ“„ AGENTS.md
πŸ“„ CLAUDE.md
πŸ“„ CONTRIBUTING.md
πŸ“„ eslint.config.js
πŸ“„ github-stars.md
πŸ“„ ISSUE_GUIDE.md
πŸ“„ LICENSE.md
πŸ“„ next-env.d.ts
πŸ“„ next.config.mjs
πŸ“„ package.json
πŸ“„ payload-types.ts
πŸ“„ payload.db
πŸ“„ pnpm-lock.yaml
πŸ“„ README.md
πŸ“„ SECURITY.md
πŸ“„ tsconfig.json
πŸ“„ turbo.json
πŸ“„ vitest.config.ts
πŸ“„ README.md

Payload headless CMS Admin panel built with React

GitHub Workflow Status   Discord   npm   npm   npm   Payload Twitter


Explore the Docs Β· Community Help Β· Roadmap Β· View G2 Reviews


[!IMPORTANT]
Star this repo or keep an eye on it to follow along.

Payload is the first-ever Next.js native CMS that can install directly in your existing /app folder. It's the start of a new era for headless CMS.

Benefits over a regular CMS

    • It's both an app framework & headless CMS
    • Deploy anywhere, including serverless on Vercel for free
    • Combine your front+backend in the same /app folder if you want
    • Don't sign up for yet another SaaS - Payload is open source
    • Query your database in React Server Components
    • Both admin and backend are 100% extensible
    • No vendor lock-in
    • Never touch ancient WP code again
    • Build faster, never hit a roadblock

Quickstart

Before beginning to work with Payload, make sure you have all of the required software.

pnpx create-payload-app@latest

If you're new to Payload, you should start with the website template (pnpx create-payload-app@latest -t website). It shows how to do everything - including custom Rich Text blocks, on-demand revalidation, live preview, and more. It comes with a frontend built with Tailwind all in one /app folder.

One-click deployment options

You can deploy Payload serverlessly in one-click via Vercel and Cloudflareβ€”giving everything you need without the hassle of the plumbing.

Deploy on Cloudflare

Fully self-contained β€” one click to deploy Payload with Workers, R2 for uploads, and D1 for a globally replicated database.

Deploy to Cloudflare

Deploy on 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 templates

Jumpstart your next project with a ready-to-go template. These are production-ready, end-to-end solutions designed to get you to market fast. Build any kind of website, ecommerce store, blog, or portfolio β€” complete with a modern front end built using React Server Components and Tailwind.

🌐 Website

πŸ›οΈ Ecommerce πŸŽ‰ NEW πŸŽ‰

We're constantly adding more templates to our Templates Directory. If you maintain your own, add the payload-template topic to your GitHub repo so others can discover it.

πŸ”— Explore more:

✨ Payload Features

Request Feature

πŸ—’οΈ Documentation

Check out the Payload website to find in-depth documentation for everything that Payload offers.

Migrating from v2 to v3? Check out the 3.0 Migration Guide on how to do it.

πŸ™‹ Contributing

If you want to add contributions to this repository, please follow the instructions in contributing.md.

πŸ“š Examples

The Examples Directory is a great resource for learning how to setup Payload in a variety of different ways, but you can also find great examples in our blog and throughout our social media.

If you'd like to run the examples, you can use create-payload-app to create a project from one:

npx create-payload-app --example example_name

You can see more examples at:

πŸ”Œ Plugins

Payload is highly extensible and allows you to install or distribute plugins that add or remove functionality. There are both officially-supported and community-supported plugins available. If you maintain your own plugin, consider adding the payload-plugin topic to your GitHub repository for others to find.

🚨 Need help?

There are lots of good conversations and resources in our Github Discussions board and our Discord Server. If you're struggling with something, chances are, someone's already solved what you're up against. :point_down:

⭐ Like what we're doing? Give us a star

πŸ‘ Thanks to all our contributors