substitutefor

software · Q1070

Grav

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

Suggest a correction

Overview

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.[2][3]

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.[1][2]

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.[3]

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.[4][5]

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.[6]

Substitution scope

Grav can substitute for 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.[2][4][7][8]

Capabilities & limitations

Flat-file content

supported

The CMS does not require a conventional content database but still needs PHP hosting.[2][3]

File-oriented website publishing · Web, Self-hosted server · Hosting availability and component license terms apply

2 sources · check evidence
https://www.getgrav.org/about

Flatfile CMS; current2APIAdmin2 notold1.7

vendor · checked 2026-10-07
https://learn.getgrav.org/2/basics/installation

PHP8.3.11minimum; inspectextensionrequirements

vendor · checked 2026-10-07

Grav 1 to 2 transition

limited

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

Maintaining an existing Grav site · Web, Self-hosted server · Hosting availability and component license terms apply

1 source · check evidence
https://learn.getgrav.org/2/migration/developer-upgrade-guide

Plugins/themes breakingchanges; backupfirst

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

WordPress for File-oriented content websites

limited

Can replace a self-hosted publishing workflow after content and theme conversion; WordPress plugins are not carried over.[2][7][8]

Web, Self-hosted server · Hosting availability and component license terms apply

References

  1. Grav license

    MIT

    vendor · retrieved 2026-10-07
  2. Grav overview

    Flatfile CMS; current2APIAdmin2 notold1.7

    vendor · retrieved 2026-10-07
  3. Grav2 installation

    PHP8.3.11minimum; inspectextensionrequirements

    vendor · retrieved 2026-10-07
  4. Grav2 developer upgrade

    Plugins/themes breakingchanges; backupfirst

    vendor · retrieved 2026-10-07
  5. Grav2 manualmigration

    MigrationassistantcleanPHPenvironment

    vendor · retrieved 2026-10-07
  6. Grav2 backups

    Profilesexclusions; schedulingoffdefault;5GBpurge

    vendor · retrieved 2026-10-07
  7. WordPress features

    Posts/pages, revisions, scheduled publishing, roles, themes and plugins

    vendor · retrieved 2026-10-06
  8. WordPress content import/export

    XML content transfer excludes design/themes/plugins and unattached media

    vendor · retrieved 2026-10-06

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
11182026-10-13 20:39:15/* wbeditentity-create-item:0| */ sf:a91ddde5-c406-401d-bb94-8a414d6d069a:v1 | Add Grav with cited publishing, hosting, licensing and migration scope. | attribution: /proposals/a91ddde5-c406-401d-bb94-8a414d6d069a