mecha-cms/mecha
Composer 安装命令:
composer create-project mecha-cms/mecha
包简介
Minimalist content management system.
README 文档
README
Mecha is a flat-file content management system for minimalists.
Front-End
The default layout uses only Serif and Mono fonts. Different operating systems may produce slightly different results. This preview was taken from a computer running Arch Linux operating system. The Serif font shown in the preview should be DejaVu Serif:
Back-End (Optional)
To be able to activate the back-end feature requires you to install our Alert, Panel, and User extensions. This feature is forever optional. You can use this feature on the local version only, and remove it on the public version to secure your website (only if you don’t trust this extension).
Colors and font types in the control panel preview above are generated from the default skin. Without them, the display will look like the preview below:
Features
- Writing pages with ease using Markdown extension.
- Unlimited page children.
- Unlimited page fields.
- Extensible as hell.
- Create unique design for each blog post by adding special CSS and JavaScript files using Art extension.
- Built-in commenting system using Comment extension.
- RSS and Sitemap using the Feed and Sitemap extension.
- Easy to use and well documented API.
- Almost everything are optional.
- Control panel using Panel extension.
Requirements
- Apache 2.4 and above, with enabled
mod_rewritemodule. - PHP 7.3 and above.
Preparations
- Make sure that you already have the required components.
- Download the available package from the home page.
- Upload Mecha through your FTP/SFTP to the public folder/directory on your site, then extract it!
- Take a look on the available extensions and layouts that you might be interested.
- Upload your extension files to
.\lot\xand your layout files to.\lot\y. They’re auto-loaded. - Read on how to add pages and tags. Learn on how to create pages from the author by looking at the source code.
- Install Panel extension if you are stuck by doing everything manually. You always have the full control to remove this extension without having to worry that your site will stop running after doing so.
Alternatives
Command Line
This assumes that your site’s public directory is in /srv/http. Make sure the folder is empty, or move the existing
files to another place first. Don’t forget with that . at the end of the command as written in the example below, to
clone the repository into the current root folder.
Using Composer
cd /srv/http composer create-project mecha-cms/mecha .
You may want to install our Panel extension as well:
composer require mecha-cms/x.panel
Using Git
cd /srv/http git clone https://github.com/mecha-cms/mecha.git --depth 1 . git submodule update --init --recursive
You may want to install our Panel extension as well. Here, Alert, and User extension is required to be installed:
git submodule add https://github.com/mecha-cms/x.alert.git --depth 1 lot/x/alert git submodule add https://github.com/mecha-cms/x.user.git --depth 1 lot/x/user git submodule add https://github.com/mecha-cms/x.panel.git --depth 1 lot/x/panel
Web Browser
Download the installer file from https://github.com/mecha-cms/start and then follow the instructions.
Contributors
This project exists and survives because of you. I would like to thank all those who have taken the time to contribute to this project.
Contribute financially to keep the project domain and website accessible to everyone. The website provides complete documentation and latest information regarding the software and future development plans. Some parts of the website also serve to provide a clean and efficient project file download feature which is obtained by managing responses from the GitHub API.
Backers
Sponsors
mecha-cms/mecha 适用场景与选型建议
mecha-cms/mecha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 255 次下载、GitHub Stars 达 187, 最近一次更新时间为 2021 年 01 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mecha-cms/mecha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mecha-cms/mecha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 255
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 187
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-01-08



