Open source, made in Canada.

A CMS that is just files.

PhlatPage is a flat-file PHP CMS. Pages are folders, content is JSON and every save is a git commit. No database servers, no build step for your content, nothing you cannot read.

Core ideas

A page is a folder, its content is JSON, and every write is a commit in a git repository of its own. Learn those few ideas once and the rest of the system follows.

site/pages/
  about/
    _index.json
    _data.json

Addons

The editing interface, UI elements, icons, fonts, profiler and command line all ship as addons. Each is a folder you can switch off, override or learn from.

{
    "addons": {
        "phlat/clockwork": {}
    }
}

Credits

PhlatPage stands on open-source work: Latte, HTMX, CommonMark, Intervention Image and many more. Thank you to everyone who writes and maintains them.

Read more

License

AGPL-3.0-only, with an additional permission: your own site code, templates and addons stay yours. Only changes to the framework itself come back.

Read more

Open source, made in Canada.