7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

Grav

Open source

A flat-file CMS written in PHP that needs no database, using Markdown content, Twig templates and YAML configuration, with a package manager for plugins and themes.

Open-source alternative to

getgrav.org
Grav homepage screenshot
GitHub stars
16k
Last commit
yesterday
Repository age
12 years
Version
2.2.4
Licence
MIT
Self-hosted
Yes

About Grav

Grav is a file-based web platform written in PHP. There is nothing to install in the traditional sense: you extract the archive and the site is running, and content lives in plain files rather than a database. It follows the flat-file CMS approach but with its own design philosophy.

Content is written in Markdown, templates use Twig, and configuration is in YAML. Under the hood it relies on established components, including Parsedown for Markdown, Symfony Cache, the Pimple dependency injection container, the Symfony Event Dispatcher for plugin events, Symfony Console for the command line and the Gregwar image library for dynamic image handling. A built-in package management system makes installing and upgrading plugins and themes straightforward, and it can update Grav itself.

Grav is MIT licensed and aimed at developers and small organizations that want a fast, simple CMS they can version in Git and host on cheap PHP hosting. Its topics cover website building and generation, and an admin plugin offers a web interface for those who prefer one.

Key features

  • Flat-file CMS with no database
  • Markdown content and Twig templates
  • Configuration written in YAML
  • Package manager for plugins and themes
  • Architecture built on Symfony components
  • Dynamic image manipulation

Good fit for

  • →Small business and portfolio websites
  • →Documentation sites in Git
  • →Simple blogs on shared PHP hosting
Built with
PHP
Tags
cms
flat-file
php
markdown
twig
website-builder
yaml
self-hosted

Grav: questions and answers

What is Grav used for?
Grav is a flat-file CMS written in PHP that needs no database, using Markdown content, Twig templates and YAML configuration, with a package manager for plugins and themes. It is a good fit for small business and portfolio websites, documentation sites in Git, and simple blogs on shared PHP hosting.
Is Grav open source?
Yes. Grav is open source under the MIT licence. Its source code is on GitHub at getgrav/grav and is written mainly in PHP.
Is Grav free?
Yes. Grav is open source, so the software itself is free to use.
Can I self-host Grav?
Yes. Grav can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is Grav an alternative to?
Grav is an open-source alternative to WordPress.com. Other open-source alternatives to WordPress.com include Joomla, WordPress and ClassicPress.
Is Grav actively maintained?
Yes. The most recent commit to Grav was on 2 October 2026, and the latest release is 2.2.4, published on 2 October 2026. The project has 16k stars on GitHub.

Open-source alternatives to Grav

See all

SaaS alternatives to Grav

See all