LaravelWordPress后台

mela-cms — Laravel 后台模板

作者 melasistema

MelaCMS 是一个面向自由职业者与工作室的 Laravel 包,用于在编码代理协助下构建客户网站,并附带基于 Filament 的客户端管理后台。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-16查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

站点内容以代码形式存在于站点仓库,模型、迁移、管理界面与视图可被编码代理读取和测试

02

安装器写入 AGENTS.md 与 CLAUDE.md,核心附带从迁移到测试的编码代理指南

03

基于 Filament 5 的管理面板,包含页面、媒体库、语言、设置与用户,角色分为 super-admin、admin、editor

04

内置多语言:翻译内容与地址、语言切换器、hreflang,默认语言可随时更改

05

内置媒体与 SEO:上传时生成 WebP 尺寸、每页标题与分享标签、/sitemap.xml

06

安装即附带 CI、约定式提交、版本、变更日志与到共享主机的 SSH 部署

模板详细介绍

MelaCMS 是一个 Laravel 包,目标用户是用编码代理为客户编写网站、同时仍需向客户交付干净管理后台的自由职业者与工作室。每个网站是一个普通的 Laravel 应用,通过 Composer 引入该包;执行 php artisan mela:install 会添加管理面板、角色与超级管理员账户、用于测试/发布/部署的 GitHub 工作流,以及供编码代理使用的说明文件。README 说明站点内容以代码形式存在于站点仓库中,模型、迁移、管理界面和视图均可被代理读取、修改和测试。

功能方面,README 列出:站点即代码;为编码代理准备(安装器写入 AGENTS.md 与 CLAUDE.md,核心附带从迁移到测试的指南);客户端可理解的面板(页面、媒体库、语言、设置与用户,角色分为 super-admin、admin、editor);内置多语言(翻译内容与地址、语言切换器、hreflang,默认语言可随时更改);内置媒体与 SEO(上传时生成 WebP 尺寸、每页标题与分享标签、/sitemap.xml);每种内容有独立索引表、翻译与主记录同行、模板字段无需迁移;从首次提交起即可交付(CI、约定式提交、版本、变更日志与到共享主机的 SSH 部署,核心更新一条命令)。

限制与状态:README 明确说明 MelaCMS 处于早期阶段(0.x)并已用于一个线上站点;在 1.0 之前,次要版本可能包含破坏性变更,变更日志会说明。安装要求 PHP 8.4(含 intl 与 GD 或 Imagick)、Laravel 13,以及用于站点资源构建的 Node 24。README 提醒在站点首次推送前需在 composer.json 中固定服务器 PHP 版本。更新需在本地 development 分支执行 php artisan mela:update,不应在服务器上更新。README 未提供性能数据、生产就绪程度或与未提及工具的集成说明。

LaravelWordPress后台

适合你的项目吗?

适用场景

  • 自由职业者或工作室用编码代理为客户构建小型网站,并需要向客户交付管理后台
  • 需要多语言内容与地址、语言切换器和 hreflang 的客户站点
  • 希望在共享主机上部署,并让站点内容与逻辑保存在代码仓库中而非数据库行或第三方插件里
  • 需要为站点内容定义独立实体(每种内容有独立索引表)并让编码代理参与开发与测试

适合人群

  • 用编码代理编写客户网站、同时需要交付干净管理后台的自由职业者
  • 需要为多个客户站点提供统一管理面板与部署流程的工作室
  • 熟悉 Laravel 与 Composer,并接受 0.x 阶段可能发生破坏性变更的开发者
  • 需要内置多语言、媒体处理与基础 SEO(sitemap、分享标签)的小型客户网站

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    环境要求:PHP 8.4(含 intl 与 GD 或 Imagick)、Laravel 13,以及用于站点资源构建的 Node 24

  2. 2

    安装步骤:laravel new client-site && cd client-site,然后 composer require melasistema/mela-cms 与 php artisan mela:install,之后访问 /admin 登录

  3. 3

    站点首次推送前需在 composer.json 中固定服务器 PHP 版本,安装指南说明了做法及 Dependabot 为何需要它

  4. 4

    更新在本地 development 分支执行 php artisan mela:update,README 明确不应在服务器上更新

  5. 5

    MelaCMS 处于 0.x 早期阶段,1.0 前次要版本可能包含破坏性变更,具体以变更日志为准

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 项目处于 0.x 早期阶段;在 1.0 之前,次要版本可能包含破坏性变更,升级前需查阅变更日志。
  • 运行环境要求:PHP 8.4(含 intl 与 GD 或 Imagick)、Laravel 13,以及用于站点资源构建的 Node 24。
  • 站点首次推送前需在 composer.json 中固定服务器 PHP 版本,否则 Dependabot 无法正常工作。
  • 更新需在本地 development 分支执行 php artisan mela:update,明确不应在服务器上更新。
  • path 仓库方式仅用于本地开发,不得用于真实站点。
  • MelaCMS 名称与标志为商标,使用受品牌页面的商标条款约束。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

> MelaCMS is at an early stage (`0.x`) and in use on a live site. While the version is below `1.0`, a minor version can contain a breaking change; the [changelog](CHANGELOG.md) says when.

README 原文

Requires PHP 8.4 with `intl` and GD or Imagick, Laravel 13, and Node 24 for the site's asset build.

README 原文

> Before the site's first push, pin the PHP version of your server in `composer.json`. The [installation guide](https://docs.mela-cms.melasistema.com/v1/guide/setup) shows how, and why Dependabot needs it.

README 原文

It requires the newest release, applies it, and prints the commit message to release the site with. Never update on the server. [How updates work →](https://docs.mela-cms.melasistema.com/v1/guide/updating)

README 原文

Composer symlinks `vendor/melasistema/mela-cms` to the clone, so an edit in the package is live in the app at `http://localhost:8000/admin`. The sandbox is disposable: delete it and create it again whenever you want a clean install. A path repository is for development only and never belongs in a real site.

README 原文

MelaCMS is open source under the [MIT License](LICENSE): free to use, modify and self-host. The MelaCMS name and logo are trademarks, see the [brand page](https://docs.mela-cms.melasistema.com/brand#trademark).

README 原文
https://github.com/melasistema/mela-cms/blob/master/LICENSEhttps://github.com/melasistema/mela-cms/blob/master/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-16。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 88 / 100
技术栈
Laravel · WordPress
网站类型
后台
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-10-16
截图检查日期
2026-10-16

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Laravel。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16

查看当时使用的来源资料

SHA-256: e381b15dd0c1eed97a2ebb4c74614e2b703033dd1fd52735b807f977c476e1e3

2026-10-16T15:09:39.944Z

来源文件 / 仓库
<p align="center">
  <a href="https://docs.mela-cms.melasistema.com">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset=".github/art/logo-dark.svg">
      <img src=".github/art/logo.svg" alt="MelaCMS" width="112" height="112">
    </picture>
  </a>
</p>

<h1 align="center">MelaCMS</h1>

<p align="center">
  <strong>The CMS for the agentic era.</strong><br>
  Your coding agent builds the site, your client gets a clean admin panel, and it all runs on a cheap shared host.
</p>

<p align="center">
  <a href="https://github.com/melasistema/mela-cms/actions/workflows/release.yml"><img src="https://img.shields.io/github/actions/workflow/status/melasistema/mela-cms/release.yml?branch=master&label=CI" alt="CI"></a>
  <a href="https://github.com/melasistema/mela-cms/releases"><img src="https://img.shields.io/github/v/release/melasistema/mela-cms?color=1D6FA5" alt="Latest release"></a>
  <a href="https://docs.mela-cms.melasistema.com"><img src="https://img.shields.io/badge/docs-docs.mela--cms.melasistema.com-1D6FA5" alt="Documentation"></a>
  <img src="https://img.shields.io/badge/PHP-8.4-4A5B6A?logo=php&logoColor=white" alt="PHP 8.4">
  <img src="https://img.shields.io/badge/Laravel-13-4A5B6A?logo=laravel&logoColor=white" alt="Laravel 13">
  <img src="https://img.shields.io/badge/Filament-5-4A5B6A" alt="Filament 5">
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-1D6FA5" alt="License: MIT"></a>
</p>

<p align="center">
  <a href="https://docs.mela-cms.melasistema.com/v1/guide/introduction"><strong>Documentation</strong></a> ·
  <a href="https://docs.mela-cms.melasistema.com/manifesto">Manifesto</a> ·
  <a href="https://docs.mela-cms.melasistema.com/vision">Vision</a> ·
  <a href="CHANGELOG.md">Changelog</a>
</p>

---

MelaCMS is a Laravel package for freelancers and studios who write client websites with coding agents and still need to hand the client a clean admin panel.

Each website is a normal Laravel app that requires it. One command adds the admin panel, the roles and a super-admin account, the GitHub workflows that test, release and deploy the site, and the instructions for the coding agents that work on it.

> [!NOTE]
> MelaCMS is at an early stage (`0.x`) and in use on a live site. While the version is below `1.0`, a minor version can contain a breaking change; the [changelog](CHANGELOG.md) says when.

## Why

WordPress was the fastest way to deliver a small website. With a coding agent it is the slowest: the site lives in database rows and third-party plugins that an agent cannot read, change or test.

MelaCMS keeps what made WordPress win (an admin panel for the client, cheap hosting, one developer per site) and turns everything else into code. [Read the manifesto →](https://docs.mela-cms.melasistema.com/manifesto)

## Features

- **The site is code.** Models, migrations, admin screens and views live in the site's repository, where an agent can work on them and tests can cover them.
- **Built for coding agents.** The installer writes the rules of MelaCMS into `AGENTS.md` and `CLAUDE.md`, and the core ships a tested guide that takes an agent from the migration to the test.
- **A panel your client understands.** Pages, a media library, languages, settings and users in a Filament 5 admin panel, with roles for super-admins, admins and editors.
- **Languages built in.** Translated content and addresses, a language switcher, `hreflang`, and a default language that can change at any time.
- **Media and SEO built in.** WebP image sizes at upload, title and share tags per page, and `/sitemap.xml`.
- **Flexible and fast.** Each kind of content has its own indexed table, translations sit in the same row, and a template field needs no migration.
- **Shipping from the first commit.** CI, conventional commits, versions, changelog and an SSH deploy to shared hosting come with the install. Core updates take one command.

## Quick start

Requires PHP 8.4 with `intl` and GD or Imagick, Laravel 13, and Node 24 for the site's asset build.

```bash
laravel new client-site && cd client-site
composer require melasistema/mela-cms
php artisan mela:install
```

Open `/admin` and log in with the account you just created.

> [!IMPORTANT]
> Before the site's first push, pin the PHP version of your server in `composer.json`. The [installation guide](https://docs.mela-cms.melasistema.com/v1/guide/setup) shows how, and why Dependabot needs it.

## Documentation

The full documentation is at **[docs.mela-cms.melasistema.com](https://docs.mela-cms.melasistema.com)**.

| Getting started | Building a site | Shipping and reference |
| :--- | :--- | :--- |
| [What is MelaCMS?](https://docs.mela-cms.melasistema.com/v1/guide/introduction) | [Admin panel and users](https://docs.mela-cms.melasistema.com/v1/building/admin-panel) | [Releasing and deploying](https://docs.mela-cms.melasistema.com/v1/guide/deploying) |
| [Installation](https://docs.mela-cms.melasistema.com/v1/guide/setup) | [Languages](https://docs.mela-cms.melasistema.com/v1/building/languages) | [Updating the core](https://docs.mela-cms.melasistema.com/v1/guide/updating) |
| [For WordPress developers](https://docs.mela-cms.melasistema.com/v1/guide/coming-from-wordpress) | [Settings](https://docs.mela-cms.melasistema.com/v1/building/settings) | [Configuration](https://docs.mela-cms.melasistema.com/v1/reference/configuration) |
| [Working with coding agents](https://docs.mela-cms.melasistema.com/v1/guide/agents) | [Pages](https://docs.mela-cms.melasistema.com/v1/building/pages) | [Commands](https://docs.mela-cms.melasistema.com/v1/reference/commands) |
| | [Your own content](https://docs.mela-cms.melasistema.com/v1/building/entities) | |
| | [Media](https://docs.mela-cms.melasistema.com/v1/building/media) | |
| | [SEO](https://docs.mela-cms.melasistema.com/v1/building/seo) | |

A coding agent working on a site reads [`docs/entity.md`](docs/entity.md) from `vendor/`: the tested recipe for a complete entity, from the migration to the test.

## Updating

On your machine, in the site, on the `development` branch:

```bash
php artisan mela:update
```

It requires the newest release, applies it, and prints the commit message to release the site with. Never update on the server. [How updates work →](https://docs.mela-cms.melasistema.com/v1/guide/updating)

## Contributing

Changes are welcome as pull requests to `master`.

```bash
git clone https://github.com/melasistema/mela-cms && cd mela-cms
composer install
```

| Task | Command |
| :--- | :--- |
| Run the tests | `composer test` |
| Check formatting (what CI runs) | `composer lint` |
| Fix formatting | `composer format` |

The tests run inside a throwaway Laravel app provided by [Orchestra Testbench](https://packages.tools/testbench), on in-memory SQLite. No `.env` or database server is needed.

### Trying a change in a real app

The package has no `artisan` and no pages of its own. To click through the admin while you work, require your clone into a throwaway Laravel app next to it, through a Composer path repository:

```bash
cd .. && laravel new mela-cms-sandbox && cd mela-cms-sandbox
composer config repositories.mela-cms path ../mela-cms
composer require melasistema/mela-cms:@dev
php artisan mela:install
npm install
composer run dev
```

Composer symlinks `vendor/melasistema/mela-cms` to the clone, so an edit in the package is live in the app at `http://localhost:8000/admin`. The sandbox is disposable: delete it and create it again whenever you want a clean install. A path repository is for development only and never belongs in a real site.

### How a change gets in

`master` is protected, for maintainers too: it changes only through a pull request whose checks pass. There is no `development` branch.

1. Fork the repository and create a branch from `master`, named after the work: `feat/media-library`, `fix/login-redirect`.
2. Open a pull request to `master`. Every push runs the formatting check, the tests (SQLite and MySQL, PHP 8.4 and 8.5, highest and lowest dependencies) and a check on the pull request title. All of them must pass before it can be merged.
3. Give the pull request a conventional-commit title, such as `feat: add the media library`. Pull requests are squash-merged, so the title becomes the commit on `master` and the line in the changelog. The commits inside the branch can be named freely.
4. Keep one feature or one fix per pull request, so each gets its own line in the changelog.
5. Add a test for new behaviour, and update the documentation when behaviour a site developer relies on changes.

The title type decides what is released:

| Title | Effect |
| :--- | :--- |
| `feat: ...` | New minor version, listed in the changelog |
| `fix: ...` | New patch version, listed in the changelog |
| `feat!: ...`, `fix!: ...` | Breaking change |
| `docs:`, `test:`, `refactor:`, `ci:`, `chore:` | No release |

A change to a template copied into sites (`stubs/`) is a `feat` or a `fix`, even for a workflow file: sites receive it only through a release.

### How releases are made

Nobody tags a release by hand. After each merge to `master`, release-please opens or updates a single release PR that collects the `feat` and `fix` changes since the last version and proposes the next one. Merging that PR creates the `vX.Y.Z` tag and the GitHub Release.

Versions follow [semantic versioning](https://semver.org). While the package is below `1.0`, a breaking change raises the minor version.

## License

MelaCMS is open source under the [MIT License](LICENSE): free to use, modify and self-host. The MelaCMS name and logo are trademarks, see the [brand page](https://docs.mela-cms.melasistema.com/brand#trademark).

© 2026 Luca Visciola (Melasistema)
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。