Skip to content

Introduction ​

CometCMS is a lightweight, Page Builder and file-based CMS built with PHP and a Vue 3 admin interface. It requires no database — all content, users, and settings are stored as plain JSON files on disk.

Key concepts ​

ConceptDescription
Page BuilderShared layouts keep the design consistent while editors work with content.
Custom FieldsStructured values bound to layouts, also available through the optional headless API.
Content typeA schema that defines a collection of entries (e.g. posts or pages).
Content entryA saved item made up of the fields defined by its content type.
MediaUploaded images/files, managed through the media library.
UserA person who can log in to the admin panel. Users receive permissions through their assigned role.
Access tokenA bearer token that grants REST API and MCP access with specific permission grants.

Roles ​

RolePermissions
adminBuilt-in full-access role. It cannot be deleted.
editorBuilt-in content and media editing role.
viewerBuilt-in read-oriented role.

Roles can be customized or created from Users & roles → Roles.

Storage layout ​

cms/storage/
  workspaces/{workspace}/
    content/        # Content entries (one JSON file per entry)
    content-types/  # Content type schemas
    media/          # Uploaded media files
    media-meta/     # Media metadata
    revisions/      # Entry and website revision history
    site/           # Website settings, menus, theme and templates
    trash/          # Soft-deleted entries
    cache/          # Disposable workspace caches
  api-tokens/       # Access token records and hashes
  settings.json     # Workspace registry and runtime settings
  sessions/         # PHP session files
  users/            # User accounts (one JSON file per user)
  roles/            # User role definitions and permission grants
  logs/             # Application logs
  backups/          # Saved backup ZIP files

CometCMS Documentation