Grav Flat-file PHP CMS using filesystem content, themes and optional browser administration.
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]
Contents 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]
References Grav license MIT
vendor · retrieved 2026-10-07 Grav overview Flatfile CMS; current2APIAdmin2 notold1.7
vendor · retrieved 2026-10-07 Grav2 installation PHP8.3.11minimum; inspectextensionrequirements
vendor · retrieved 2026-10-07 Grav2 developer upgrade Plugins/themes breakingchanges; backupfirst
vendor · retrieved 2026-10-07 Grav2 manualmigration MigrationassistantcleanPHPenvironment
vendor · retrieved 2026-10-07 Grav2 backups Profilesexclusions; schedulingoffdefault;5GBpurge
vendor · retrieved 2026-10-07 WordPress features Posts/pages, revisions, scheduled publishing, roles, themes and plugins
vendor · retrieved 2026-10-06 WordPress content import/export XML content transfer excludes design/themes/plugins and unattached media
vendor · retrieved 2026-10-06 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.