关于
Self-hosted CMS for developers who build client sites: visual editor, plugins, themes, signed updates. Zero PHP dependencies.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -14
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Kestello is a content management system for the people who run a website and the developers who build it. Pages are written in a visual editor that shows the real page; plugins, themes, forms, media, search, backups and updates are built in. It is written in PHP and Vue, with zero PHP dependencies.
- Documentation: the Kestello docs (guides for site owners, and pages for developers).
- Releases: GitHub releases. To install, download
kestello-X.Y.Z.zipand follow Installing Kestello. A Kestello site checks the releases for updates and installs signed ones itself.
Why zero dependencies
Kestello brings its own small libraries for what a CMS needs: a database layer, an HTTP client, a mailer, Redis and S3 clients, zip, validation and so on. Plugins use them through the same API core uses, so most plugins need no libraries of their own.
- Plugins never fight core over versions. Plugins run in the same PHP process as core, so any library core shipped would pin its version for every plugin. With none in core, there is nothing to clash with.
- Plugins cannot clash with each other either. A plugin may only declare classes in its own namespace, and the plugin check enforces it. A plugin that needs a library prefixes it into that namespace first (with a tool such as PHP-Scoper or Strauss).
- The sensitive parts use what PHP provides. Passwords use
password_hash, signatures and encryption use libsodium, databases use PDO, and HTTP uses curl with certificate checks on.
The cost is more code to maintain ourselves, which is why every part has tests. Composer still works: composer.json requires nothing at runtime, maps the Kestello\ namespace for your editor and tools, and its require-dev holds the two development tools (PHPStan and PHP CS Fixer), which never ship. A site itself loads classes with Kestello's own autoloader (core/bootstrap.php), so it has no vendor/ folder.
The one exception to the rule is Vue 3, for the admin and themes. It runs in the browser, not in PHP, and ships prebuilt as one pinned file in each release, so installing still needs nothing but PHP. Plugins and themes use that one copy instead of bundling their own.
Requirements
PHP 8.4 or newer (with json, mbstring, pdo and sodium), and MySQL 8, MariaDB 10.6, PostgreSQL 13 or SQLite 3.35. See Requirements for the details.
Run it locally
You need Docker, Composer and Node.js 22.15 or newer.
cp .env.example .env
docker compose up -d
npm ci
npm run build
composer install
Open http://localhost:8080 and follow the installer. The development commands (npm run format, npm run lint, npm test and the PHP tests) are described in CONTRIBUTING.md.
Contributing
Read CONTRIBUTING.md before opening an issue or a pull request: it covers the branches, commit messages, pull requests, tickets and releases. AI coding assistants follow AGENTS.md. Report security problems privately, as described in SECURITY.md.
License
Kestello is free software, released under the GNU General Public License, version 2 or later.
探索相关项目
加载中…