# Grav

Flat\-file PHP CMS using filesystem content, themes and optional browser administration\.

ID: Q1070 · Revision: 1118

Type: software · License: MIT core; commercial components have separate terms[^grav-license] · Status: active

Website: https://www.getgrav.org/



Grav is a flat\-file content management system written in PHP\. It stores a site's content in files instead of requiring a conventional content database, and combines Markdown\-oriented authoring with themes and plugins\. It remains a server\-side application: choosing file\-based storage does not turn the installation into a collection of static HTML pages\.[^grav-home][^grav-install]

## Files and deployment

Grav separates content, configuration and presentation so a site can be edited through its files and extended with themes or plugins\. This makes the filesystem an important part of the authoring and deployment workflow\. The core's MIT license permits modification and redistribution under its conditions; that license should not be assumed to cover every optional commercial component\.[^grav-home][^grav-license]

The current Grav 2 installation documentation specifies PHP 8\.3\.11 or newer\. This matters when comparing hosting with an existing older installation: a server that runs a legacy Grav site may not satisfy the new generation's requirements\. Hosting compatibility should be evaluated for the release actually being deployed rather than inferred from the shared product name\.[^grav-install]

## Major\-version migration and recovery

Grav 2 is explicitly not an in\-place upgrade from Grav 1\.7 or 1\.8\. The supported route is a fresh installation followed by content import\. Its replacement Admin 2 interface uses a new API, and custom administration screens require porting; old Twig template syntax can also need changes\. Existing content is therefore only one component of the migration\.[^grav-upgrade][^grav-manual]

Grav's backup profiles determine included paths, exclusions and retention\. Scheduled backups are off by default, and the documented default space\-based purge can remove older archives\. File\-based storage simplifies the inventory compared with a separate content database, but a backup still needs a suitable profile and retention policy; it should not be described as automatically preserving every file indefinitely\.[^grav-backup]

## Substitution scope

Grav can substitute for [WordPress](/wordpress) for a content website where file\-based authoring and a PHP theme system fit the project\. The assessment does not extend to running WordPress plugins or importing an entire WordPress design unchanged\. Content conversion, media organization and replacement of dynamic integrations remain project work, and an existing Grav 1 theme needs its own Grav 2 compatibility review\.[^grav-home][^grav-upgrade][^wfeatures][^wexport]

## Capabilities and substitutions

### Flat\-file content — supported

The CMS does not require a conventional content database but still needs PHP hosting\.[^grav-home][^grav-install]

Use case: File\-oriented website publishing · Platforms: Web, Self\-hosted server · Region: Hosting availability and component license terms apply

### Grav 1 to 2 transition — limited

Fresh installation and content import replace in\-place upgrading; custom admin UI and templates may need porting\.[^grav-upgrade]

Use case: Maintaining an existing Grav site · Platforms: Web, Self\-hosted server · Region: Hosting availability and component license terms apply

### [Substitute for WordPress](/wordpress) — limited

Can replace a self\-hosted publishing workflow after content and theme conversion; WordPress plugins are not carried over\.[^grav-home][^wfeatures][^wexport]

Use case: File\-oriented content websites · Platforms: Web, Self\-hosted server · Region: Hosting availability and component license terms apply

## References

[^grav-license]: [Grav license](<https://github.com/getgrav/grav/blob/develop/LICENSE.txt>) — MIT (vendor; retrieved 2026-10-07T00:16:16Z)

[^grav-home]: [Grav overview](<https://www.getgrav.org/about>) — Flatfile CMS; current2APIAdmin2 notold1\.7 (vendor; retrieved 2026-10-07T00:15:44Z)

[^grav-install]: [Grav2 installation](<https://learn.getgrav.org/2/basics/installation>) — PHP8\.3\.11minimum; inspectextensionrequirements (vendor; retrieved 2026-10-07T00:15:44Z)

[^grav-upgrade]: [Grav2 developer upgrade](<https://learn.getgrav.org/2/migration/developer-upgrade-guide>) — Plugins/themes breakingchanges; backupfirst (vendor; retrieved 2026-10-07T00:15:44Z)

[^grav-manual]: [Grav2 manualmigration](<https://learn.getgrav.org/2/migration/manual-migration>) — MigrationassistantcleanPHPenvironment (vendor; retrieved 2026-10-07T00:15:44Z)

[^grav-backup]: [Grav2 backups](<https://learn.getgrav.org/2/advanced/backups>) — Profilesexclusions; schedulingoffdefault;5GBpurge (vendor; retrieved 2026-10-07T00:16:16Z)

[^wfeatures]: [WordPress features](<https://wordpress.org/about/features/>) — Posts/pages, revisions, scheduled publishing, roles, themes and plugins (vendor; retrieved 2026-10-06T16:21:46Z)

[^wexport]: [WordPress content import/export](<https://learn.wordpress.org/lesson/tools-export-and-import/>) — XML content transfer excludes design/themes/plugins and unattached media (vendor; retrieved 2026-10-06T16:20:33Z)

Source revision: https://substitutefor.net/entities/Q1070?revision=1118
