# payload **Repository Path**: anydev/payload ## Basic Information - **Project Name**: payload - **Description**: 基于 Next.js 框架开发的无头 CMS(Headless CMS),完全开源免费自建。它提供了 CMS(内容管理系统)后端和管理界面的功能,能够直接安装在 Next.js 项目的 /app 目录中,实现统一的开发体验并简化部署流程,适用于构建博客、企业网站、电商平台等多种 Web 应用场景。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: https://payloadcms.com/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-03 - **Last Updated**: 2024-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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] > 🎉 We've released 3.0! 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

## Quickstart Before beginning to work with Payload, make sure you have all of the [required software](https://payloadcms.com/docs/getting-started/installation). ```text 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 templates Jumpstart your next project by starting with a pre-made template. These are production-ready, end-to-end solutions designed to get you to market as fast as possible. ### [🌐 Website](https://github.com/payloadcms/payload/tree/main/templates/website) Build any kind of website, blog, or portfolio from small to enterprise. Comes with a fully functional front-end built with RSCs and Tailwind. We're constantly adding more templates to our [Templates Directory](https://github.com/payloadcms/payload/tree/main/templates). If you maintain your own template, consider adding the `payload-template` topic to your GitHub repository for others to find. - [Official Templates](https://github.com/payloadcms/payload/tree/main/templates) - [Community Templates](https://github.com/topics/payload-template) ## ✨ Features - Completely free and open-source - Next.js native, built to run inside _your_ `/app` folder - Use server components to extend Payload UI - Query your database directly in server components, no need for REST / GraphQL - Fully TypeScript with automatic types for your data - [Auth out of the box](https://payloadcms.com/docs/authentication/overview) - [Versions and drafts](https://payloadcms.com/docs/versions/overview) - [Localization](https://payloadcms.com/docs/configuration/localization) - [Block-based layout builder](https://payloadcms.com/docs/fields/blocks) - [Customizable React admin](https://payloadcms.com/docs/admin/overview) - [Lexical rich text editor](https://payloadcms.com/docs/fields/rich-text) - [Conditional field logic](https://payloadcms.com/docs/fields/overview#conditional-logic) - Extremely granular [Access Control](https://payloadcms.com/docs/access-control/overview) - [Document and field-level hooks](https://payloadcms.com/docs/hooks/overview) for every action Payload provides - Intensely fast API - Highly secure thanks to HTTP-only cookies, CSRF protection, and more Request Feature ## 🗒️ Documentation Check out the [Payload website](https://payloadcms.com/docs/getting-started/what-is-payload) to find in-depth documentation for everything that Payload offers. Migrating from v2 to v3? Check out the [3.0 Migration Guide](https://github.com/payloadcms/payload/blob/main/docs/migration-guide/overview.mdx) on how to do it. ## 🙋 Contributing If you want to add contributions to this repository, please follow the instructions in [contributing.md](./CONTRIBUTING.md). ## 📚 Examples The [Examples Directory](./examples) 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 either copy them to a folder outside this repo or run them directly by (1) navigating to the example's subfolder (`cd examples/your-example-folder`) and (2) using the `--ignore-workspace` flag to bypass workspace restrictions (e.g., `pnpm --ignore-workspace install` or `pnpm --ignore-workspace dev`). You can see more examples at: - [Examples Directory](./examples) - [Payload Blog](https://payloadcms.com/blog) - [Payload YouTube](https://www.youtube.com/@payloadcms) ## 🔌 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. - [Official Plugins](https://github.com/orgs/payloadcms/repositories?q=topic%3Apayload-plugin) - [Community Plugins](https://github.com/topics/payload-plugin) ## 🚨 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: - [GitHub Discussions](https://github.com/payloadcms/payload/discussions) - [GitHub Issues](https://github.com/payloadcms/payload/issues) - [Discord](https://t.co/30APlsQUPB) - [Community Help](https://payloadcms.com/community-help) ## ⭐ Like what we're doing? Give us a star ![payload-github-star](https://cms.payloadcms.com/media/payload-github-star.gif) ## 👏 Thanks to all our contributors