
Grav
Flat-file PHP CMS using Markdown, Twig and YAML
15.7k stars 1.4k forks last commit first released MIT
Actively maintained
Last commit 26 Aug 2026.

Grav is a modern, open-source flat-file CMS written in PHP that delivers fast, flexible websites without a database. It uses Markdown for content, Twig for templating, YAML for configuration and provides a package manager and rich plugin ecosystem for extensibility.
Key Features
- Flat-file architecture: pages are simple Markdown files organized in folders for easy versioning and deployment.
- Twig templating and theme inheritance for flexible, performant presentation layers.
- YAML-based configuration with environment overrides and blueprint-driven admin forms.
- Built-in package manager (GPM) to install and update plugins, themes and Grav itself.
- Optional Admin plugin offering a responsive GUI, page blueprints, forms and one-click installs/updates.
- Smart caching and image processing to optimize performance for production sites.
Use Cases
- Marketing or brochure websites that benefit from fast static-like performance and simple content workflows.
- Documentation and knowledge portals using skeletons and modular pages to structure content.
- Blogs, portfolios and small-to-medium sites that prefer file-based versioning and easy backups without a database.
Limitations and Considerations
- Requires a PHP environment (minimum supported version historically noted as PHP 7.3.6+); verify current PHP compatibility for recent releases before deployment.
- Ecosystem quality varies: many plugins and themes are community-contributed; some premium themes/plugins are commercial or maintained by third parties.
Grav provides a compact, extensible alternative to database-backed CMSes, focusing on developer-friendly tools and fast runtime behavior. It is suitable for projects where simple content workflows, file-based versioning and flexible theming are priorities.
Categories:
Tags:
Tech Stack:
Similar to Grav
Contao
Open-source PHP content management system based on Symfony
Contao is an open-source PHP CMS for building professional, accessible, SEO-friendly and performant websites and web applications; extensible via Symfony bundles and Composer.
BigTree CMS
Open-source PHP CMS with a developer-focused editable interface
Open-source PHP and MySQL CMS focused on developer control, template-driven sites, modular content types, and an intuitive admin/editor experience.

WonderCMS
Lightweight flat-file CMS for small websites and blogs
WonderCMS is a tiny flat-file CMS for building fast websites and blogs with in-place editing, themes/plugins, and one-click updates and backups—no database required.
W (WCMS)
Lightweight PHP flat-file wiki-style CMS for experimental websites
Lightweight PHP wiki/CMS for spontaneous, heterogeneous websites; flat-file JSON storage, Markdown editing, media manager, themes, RSS, and mobile-friendly editing.
Dotclear
Open-source PHP blogging and web-publishing platform
A lightweight open-source PHP blog engine with multilingual support, themes/plugins, media manager, and multi-database compatibility (MySQL, MariaDB, PostgreSQL, SQLite).

Zenphoto
Open-source, gallery-focused PHP CMS for media websites
A lightweight PHP CMS focused on photo, video and audio galleries with integrated blogging (Zenpage), theme support and extensible plugins.


