For editors: Editor guide
Documentation: Handbook · Demos
Each guide is available in English and German. Use English / Deutsch at the top of the website to switch languages. On GitHub, follow the language link inside each guide.
A modern PHP CMS with plugin architecture, Vue admin UI, Visual Builder, and marketplace.
- Plugin Architecture - Seven supported plugins ship with it; the CMS boots with none
- Visual Builder - Drag-and-drop page builder with responsive layouts
- Modern Admin UI - Vue 3 + Astro with collapsible sidebar, theme toggle
- REST & GraphQL APIs - Headless content management
- Scheduled publishing - a page goes live, and comes down, at a stated time
- Two-step sign-in - TOTP, with recovery codes
- Single sign-on - OpenID Connect against Entra ID, Google, Okta, Keycloak
- Webhooks - signed, queued and retried, so a static front end knows to rebuild
- Multi-site - one installation, many sites; shared code, separate content
- Marketplace - GitHub Pages-based plugin marketplace with signed manifests
- Zero runtime dependencies -
composer.jsonrequires PHP and nothing else - Five storage backends - flat JSON files by default; SQLite, MySQL, MariaDB or PostgreSQL when a site outgrows them
The fastest route to a running site:
docker run -d -p 8080:80 \
-v click-cms-content:/var/www/html/content \
-v click-cms-data:/var/www/html/data \
ghcr.io/felixgeelhaar/click-cms:latestFrom source instead:
composer install
cd admin-ui && npm install && npm run build && cd ..
php -S localhost:8080 -t public- Public Site: http://localhost:8080
- Admin UI: http://localhost:8080/admin/
- API: http://localhost:8080/api/
Sign in as admin / admin. The account can do exactly one thing until that
password is replaced: replace it.
A fresh install has no content, so nothing on screen shows you what a section or a collection is. Fill it in with a small example site:
php bin/click-seed.php --dry-run # what it would create
php bin/click-seed.php # create itIt never overwrites — anything already there is skipped — so it is safe to run twice, and safe on a site that already has content.
For admin UI development, run the Astro dev server alongside PHP and use http://localhost:4321/admin/ instead:
cd admin-ui && npm run devFor vulnerability reporting and dependency-audit details, see Security.
Content is stored as flat JSON files by default — no database, nothing to
install. To use SQLite instead, set the backend in config/core.json:
{
"core": {
"storage": {
"backend": "sqlite",
"sqlite": { "path": "data/content.sqlite" }
}
}
}backend accepts json, sqlite, mysql, mariadb and postgres. Each
database backend needs its matching PDO extension. An unrecognised backend, or
one whose extension is missing, fails at boot with a message saying what to
change — it never falls back silently.
Switching the setting does not move existing content; move it first with
php bin/click-migrate-storage.php json sqlite, which is safe to re-run. See
docs/core.md for the details.
Seven supported plugins ship with the project. The CMS boots with plugins/ deleted entirely —
that is the test of whether the line between core and plugin is drawn honestly.
| Plugin | What it does |
|---|---|
visual-builder |
Drag-and-drop page builder with responsive layouts |
graphql |
A GraphQL endpoint for content |
search |
Full-text search over published pages, at GET /api/search |
forms |
Contact forms; protected submissions, editor inbox and optional email alerts |
collaboration |
Presence and page comments, for review before publishing |
backup |
A ZIP export of content, media and drafts |
webhooks |
Signed HTTP deliveries when content changes, queued and retried |
The admin interface is part of core. The legacy plugins/admin-ui directory is excluded by default; it is not an additional supported plugin.
Administrators can install external plugins under Marketplace, either from a configured signed registry or by uploading a trusted ZIP containing plugin.json and bootstrap.php. Registry signatures and package checksums are verified; uploaded ZIPs are unverified code. Then activate the plugin under Plugins and test its feature on an isolated copy. Deployment-managed installations disable Marketplace installs, and an execution allowlist may restrict activation.
The plugin name determines its ID (for example, GraphQL API becomes graphql-api); a signed manifest must use the same ID as its package. A valid signature verifies the publisher, not compatibility with the installed Click version. Do not install legacy REST or storage packages to enable those features: they are already part of core. See the English handbook or German handbook.
Authentication (including two-step sign-in and single sign-on), languages,
media, redirects, menus, version history, preview, scheduled publishing and the
REST API are core, not plugins — see docs/core.md for
why each one cannot be removable.
click/
├── src/ # Core application
│ ├── Application/ # Application services
│ ├── Core/ # Main Application class
│ ├── Domain/ # Domain models, no I/O
│ ├── Http/ # Kernel, controllers, renderers
│ └── Infrastructure/ # Storage, media, adapters
├── plugins/ # Bundled plugins and legacy admin-ui directory
├── admin-ui/ # Vue 3 + Astro admin
├── themes/ # Public themes
├── config/ # Core settings, section and collection types
├── content/ # A site's documents and media (gitignored)
├── data/ # Sessions, history, audit trail, caches (gitignored)
├── sdk/ # PHP plugin SDK and a generated TypeScript client
├── bin/ # CLI tools (seed, migrate storage, update,
│ # schedule, webhooks, sites)
└── public/ # Web root — the only directory served
composer test # the PHP suite
composer test:admin # the admin UI suite
composer lint # syntax-check every PHP file
composer seed # fill a fresh install with the example site
cd admin-ui && npm run build # build the admin UI- Installation and first run — Docker, release archive or source
- What belongs in core — the line between core and plugin, storage backends, draft and publish, the render cache
- Updates — the signed release feed and update policies
- Visual builder — the node document model
- Collaboration — presence and review comments
- Publishing — saving vs publishing, and scheduling
- Two-step sign-in — turning it on, and the recovery codes
- Single sign-on — OpenID Connect setup, and what is checked
- Webhooks — the payload, the signature, verifying it
- More than one site — shared code, separate content
- Dependency maintenance — tested tooling, supported versions and update checks
- Site publication — deployment verification and release-feed delivery
- Practices — how this codebase is worked on
MIT