定制 elmsln/haxcms 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elmsln/haxcms

Composer 安装命令:

composer require elmsln/haxcms

包简介

Headless CMS for managing and publishing hybrid static, web component driven sites.

README 文档

README

Project Status: Active – The project has reached a stable, usable state and is being actively developed. OpenSSF Scorecard Community Support License: Apache 2.0 Contributor Covenant Discord Lit #HAXTheWeb X Deploy

HAX

The authoring experience of HAX and the ability to make fast, static file backed websites rapidly. Get all the details you want on HAXTheWeb.org! HAX seeks to be the smallest possible back-end CMS to make HAX work and be able to build websites with it. Leveraging JSON Outline Schema, HAX is able to author multiple pages, which it then writes onto the file system. This way a slim server layer is just for basic authentication, knowing how to save files, and placing them in version control.

Features

  • All the UX of HAX brought to a small CMS
  • Incredibly simple, readable file structure of flat HTML files and lightning fast, high scale micro-sites
  • cdn friendly configuration
  • 0 config, 100% offline capable, PWA generation
  • clean, simple theme layer abstracted from content
  • No database (simple .json files help manage relationships, all pages html+webcomponents)
  • Files you can reach out and touch, fork, and theme with ease!
  • Support for multiple sites
  • automatic git repo creation and management (never touch commandline again, but dive in if you really needed)
  • Built in gh-pages publishing
  • Support for PHP and Express based backends

Hosted solutions

Reclaim Hosting / Cloud

HAXiam

  • HAX can also be installed in a "HAXiam" configuration where institutional users automatically get their own HAX spaces to work in by logging in.
  • Contact via issue queue if interested in this solution and collaborating to improve it's deployment methodology

Requirements (PHP)

  • Supports PHP 8.3+
  • Requires zip, gd, and xml modules be installed
  • Apache 2.4

Requirements (node, still in development)

cd system/backend/nodejs
yarn run dev

Quick Install

$ curl -fsSL https://raw.githubusercontent.com/haxtheweb/haxcms/master/scripts/haxcmsme.sh -o haxcmsme.sh && sh haxcmsme.sh

Installation Guides

Containers

  • Clone this repo: git clone https://github.com/haxtheweb/haxcms.git
  • Install a server container (recommended). Here are some options (We support 'em all!):
  • Open a terminal window, go to the directory where you downloaded your container app and type ddev start (for ddev) or fin init (for docksal) or lando start && lando magic (for lando) or vagrant up (for vagrant).
  • Go to the link any of them give you in a browser.
  • Username/password is admin/admin to get building out static sites locally that you can push up anywhere!
  • Click the icon in the top-right and you're off and running!

MAMP

Scope

Generate .html files which have only "content" in them. Meaning the contents of the page in question. A simple method of adding new pages and managing the organization of those pages into a simple hierarchy (outline). Support for multiple mini web sites so that you can write a lot about different topics. HAXcms is only intended to be a micro-site generator and play nicely with the rest of the HAX ecosystem without needing a monster CMS in order to utilize it.

Usage

Go to yoursite.com and login with the username and password you entered in the _config/config.php by clicking on the login icon

Windows

Cygwin command line is lightly tested, but slower than true Bash environment.

Windows Install

To properly configure git endlines for Windows, run this configuration

$ git config --global core.autocrlf true

Fedora (31/32) Troubleshooting

Newer versions of Fedora use cgroupsv2 which is currently not supported by Docker. To avoid a cgroup error before running HAX locally (e.g. before using "ddev start" or "fin init") run the following commands.

sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

MCP and deployment profiles

  • MCP policy defaults are controlled via _config/config.json.
  • New installs include:
    • deploymentProfile: single-site, self-hosted-multi-site, or haxiam-managed
    • mcp.enabled: global MCP toggle
    • mcp.readOnly: write-protection toggle for future MCP write tools
  • Default behavior:
    • haxiam-managed defaults MCP to disabled unless explicitly enabled.
    • Other profiles default to MCP enabled with read-only mode on.

Get Help / Issues / Support

Watch and Learn more about HAX here:

Related links and tech

HAX Traveler: World Changer

elmsln/haxcms 适用场景与选型建议

elmsln/haxcms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 129, 最近一次更新时间为 2019 年 08 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 elmsln/haxcms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 elmsln/haxcms 我们能提供哪些服务?
定制开发 / 二次开发

基于 elmsln/haxcms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 129
  • 点击次数: 16
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 129
  • Watchers: 20
  • Forks: 55
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-08-09