qmetrics.net

Grav

Flat-file PHP CMS with API and modern admin

Grav screenshot

Grav is a file-based web platform using Markdown, YAML, Twig, and PHP. Recent releases add a first-party REST API, MCP server, and SvelteKit admin for headless and agent-driven workflows.

Overview

Grav stores content as folders of Markdown and YAML instead of a database. You can unpack a release archive on a PHP-capable host and serve pages without a separate installer step. Twig templates, Symfony components, and a package manager handle themes and plugins.

Grav 2 introduces a first-party REST API that powers a new single-page admin built with SvelteKit, Vite, and Tailwind. The same API supports headless front ends, automation, and an MCP server that exposes admin operations to AI agents under the same permission model. Collaborative editing, media uploads, and existing blueprint-based forms are carried into the new admin experience.

Core strengths emphasized on the product site include aggressive caching for fast page render, multilingual content, image processing helpers, built-in search plugins, and Git-friendly flat files. PHP 8.3 or newer is required. Distribution options include downloadable packages, Composer project creation, or cloning from source with CLI dependency installation.

The ecosystem spans free skeletons, premium plugins from the vendor, and documentation themes such as Helios for technical docs. Teams use Grav for blogs, marketing sites, portfolios, and documentation hubs where file-based content and optional API control matter.

Key features

  • Flat-file Markdown and YAML content
  • Package manager for plugins and themes
  • REST API and MCP server in Grav 2
  • SvelteKit-based Admin 2.0 interface
  • Twig templating and Symfony stack
  • Built-in search and image pipeline
  • Multi-language site support
  • No database server required

Use cases

  • Marketing sites without a SQL database
  • Headless content via the REST API
  • Documentation sites in Markdown
  • Agent-managed updates through MCP
  • Git-versioned content deployments

Does the same job as

Grav doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Grav

Similar software

Strapi

Open-source JavaScript headless CMS with auto-generated APIs

Strapi is an open-source headless CMS for defining content models, editing content in an admin UI, and exposing REST and GraphQL APIs to any frontend.

  • Visual content-type builder
  • Auto-generated REST and GraphQL APIs
  • Roles and permissions
TypeScriptWeb, Docker, CLIDetails →
★ 73.7k⟳ todayMIT · open core
Open Source Alternative to:ContentfulSanity+1

Payload

Next.js-native headless CMS and app framework

Payload is an open-source TypeScript framework that installs into a Next.js app folder. It provides a backend, admin UI, and APIs for content-driven or custom applications.

  • Schema defined in TypeScript code
  • Next.js app folder integration
  • Extensible React admin panel
TypeScriptDetails →
★ 46.1k⟳ todayMIT
Open Source Alternative to:ContentfulSanity+1

Halo

Open-source site builder for blogs, docs, and stores

Halo is a site-building tool for personal blogs, knowledge bases, company sites, and online shops. A community edition supports themes and plugins from an app market.

  • Personal and corporate websites
  • Blog and knowledge base sites
  • Theme and plugin app market
JavaLinux, DockerDetails →
★ 40.5k⟳ todayGPL-3.0

Directus

SQL-backed headless CMS with APIs and Studio

Directus wraps a SQL database with auto-generated REST and GraphQL APIs, a visual Studio for teammates, and MCP connectivity for AI tools on your data.

  • Auto-generated REST and GraphQL APIs
  • Visual data Studio
  • Field-level access policies
TypeScriptWeb, DockerDetails →
★ 38.8k⟳ todaySource-available
Alternative to:ContentfulSanity+1

WordPress

Open-source web publishing platform and content management

WordPress is open source software for creating websites, blogs, and apps. It offers flexible design, editing, and extension through themes and plugins.

  • Block-based content editor
  • Themes and visual customization
  • Plugin API for extensions
PHPWebDetails →
★ 21.6k⟳ todayGPL-2.0
Open Source Alternative to:FramerMedium+3

Wagtail CMS

Flexible Django-based content management system

Wagtail is a Django CMS focused on editor experience and precise control over site structure and front-end design. It scales to large multi-site, multilingual setups.

  • Django-based CMS core
  • StreamField flexible content
  • Headless content API
PythonDetails →
★ 20.8k⟳ 7 days agoBSD-3-Clause