{"schemaVersion":"1.0","record":{"label":"Grav","description":"Flat-file PHP CMS using filesystem content, themes and optional browser administration.","aliases":[],"kind":"software","website":"https://www.getgrav.org/","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.","license":"MIT core; commercial components have separate terms","lifecycle":"active","example":false,"features":[{"name":"Flat-file content","status":"supported","detail":"The CMS does not require a conventional content database but still needs PHP hosting.","useCase":"File-oriented website publishing","platforms":["Web","Self-hosted server"],"region":"Hosting availability and component license terms apply","evidence":[{"url":"https://www.getgrav.org/about","locator":"Flatfile CMS; current2APIAdmin2 notold1.7","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"},{"url":"https://learn.getgrav.org/2/basics/installation","locator":"PHP8.3.11minimum; inspectextensionrequirements","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"}]},{"name":"Grav 1 to 2 transition","status":"limited","detail":"Fresh installation and content import replace in-place upgrading; custom admin UI and templates may need porting.","useCase":"Maintaining an existing Grav site","platforms":["Web","Self-hosted server"],"region":"Hosting availability and component license terms apply","evidence":[{"url":"https://learn.getgrav.org/2/migration/developer-upgrade-guide","locator":"Plugins/themes breakingchanges; backupfirst","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"}]}],"alternatives":[],"slug":"grav","draftAlternatives":[{"targetSlug":"wordpress","status":"limited","detail":"Can replace a self-hosted publishing workflow after content and theme conversion; WordPress plugins are not carried over.","useCase":"File-oriented content websites","platforms":["Web","Self-hosted server"],"region":"Hosting availability and component license terms apply","evidence":[{"url":"https://www.getgrav.org/about","locator":"Flatfile CMS; current2APIAdmin2 notold1.7","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"},{"url":"https://wordpress.org/about/features/","locator":"Posts/pages, revisions, scheduled publishing, roles, themes and plugins","retrievedAt":"2026-10-06T16:21:46Z","kind":"vendor"},{"url":"https://learn.wordpress.org/lesson/tools-export-and-import/","locator":"XML content transfer excludes design/themes/plugins and unattached media","retrievedAt":"2026-10-06T16:20:33Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.getgrav.org/about","locator":"Flatfile CMS; current2APIAdmin2 notold1.7","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"},{"url":"https://learn.getgrav.org/2/basics/installation","locator":"PHP8.3.11minimum; inspectextensionrequirements","retrievedAt":"2026-10-07T00:15:44Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/getgrav/grav/blob/develop/LICENSE.txt","locator":"MIT","retrievedAt":"2026-10-07T00:16:16Z","id":"grav-license","title":"Grav license","kind":"vendor"},{"url":"https://www.getgrav.org/about","locator":"Flatfile CMS; current2APIAdmin2 notold1.7","retrievedAt":"2026-10-07T00:15:44Z","id":"grav-home","title":"Grav overview","kind":"vendor"},{"url":"https://learn.getgrav.org/2/basics/installation","locator":"PHP8.3.11minimum; inspectextensionrequirements","retrievedAt":"2026-10-07T00:15:44Z","id":"grav-install","title":"Grav2 installation","kind":"vendor"},{"url":"https://learn.getgrav.org/2/migration/developer-upgrade-guide","locator":"Plugins/themes breakingchanges; backupfirst","retrievedAt":"2026-10-07T00:15:44Z","id":"grav-upgrade","title":"Grav2 developer upgrade","kind":"vendor"},{"url":"https://learn.getgrav.org/2/migration/manual-migration","locator":"MigrationassistantcleanPHPenvironment","retrievedAt":"2026-10-07T00:15:44Z","id":"grav-manual","title":"Grav2 manualmigration","kind":"vendor"},{"url":"https://learn.getgrav.org/2/advanced/backups","locator":"Profilesexclusions; schedulingoffdefault;5GBpurge","retrievedAt":"2026-10-07T00:16:16Z","id":"grav-backup","title":"Grav2 backups","kind":"vendor"},{"url":"https://wordpress.org/about/features/","locator":"Posts/pages, revisions, scheduled publishing, roles, themes and plugins","retrievedAt":"2026-10-06T16:21:46Z","id":"wfeatures","title":"WordPress features","kind":"vendor"},{"url":"https://learn.wordpress.org/lesson/tools-export-and-import/","locator":"XML content transfer excludes design/themes/plugins and unattached media","retrievedAt":"2026-10-06T16:20:33Z","id":"wexport","title":"WordPress content import/export","kind":"vendor"}],"overviewCitations":["grav-home","grav-install"],"licenseCitations":["grav-license"],"sections":[{"id":"architecture","heading":"Files and deployment","paragraphs":[{"id":"editing","content":[{"text":"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."}],"citations":["grav-home","grav-license"]},{"id":"requirements","content":[{"text":"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."}],"citations":["grav-install"]}]},{"id":"migration","heading":"Major-version migration and recovery","paragraphs":[{"id":"upgrade","content":[{"text":"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."}],"citations":["grav-upgrade","grav-manual"]},{"id":"backup","content":[{"text":"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."}],"citations":["grav-backup"]}]},{"id":"substitution","heading":"Substitution scope","paragraphs":[{"id":"fit","content":[{"text":"Grav can substitute for "},{"text":"WordPress","targetSlug":"wordpress"},{"text":" 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."}],"citations":["grav-home","grav-upgrade","wfeatures","wexport"]}]}]},"id":"Q1070","revision":1118,"updatedAt":"2026-10-13T20:39:15Z","sourceUrl":"https://substitutefor.net/entities/Q1070?revision=1118"}}