DirectusSQL-backed headless CMS with APIs and Studio
GravFlat-file PHP CMS with API and modern admin
Directus vs Grav
How Directus and Grav compare on popularity, activity, license and platforms: two open-source Content Management Systems (CMS) projects, both alternatives to Sanity and Storyblok.
At a glance
- Directus has more GitHub stars (38.7k vs 15.7k, about 2× as many).
- Both are actively maintained (last commits 4 days ago and 3 days ago).
- Directus uses MSCL-1.0-GPL (source-available); Grav uses MIT (permissive).
- Both can be self-hosted.
- Directus is the older project (repository started 2012; Grav in 2014).
Side by side
| Directus | Grav | |
|---|---|---|
| GitHub stars | ★ 38,715 | ★ 15,742 |
| Forks | 4,992 | 1,429 |
| Last commit | 4 days ago | 3 days ago |
| Latest version | v12.7.0 | 2.2.35 |
| Repository started | December 2012 | August 2014 |
| License | MSCL-1.0-GPL · source-available | MIT · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Web | Web |
| Main language | TypeScript | PHP |
| Alternative to | Contentful, Sanity, Storyblok | Sanity, Storyblok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
Directus
Directus wraps a SQL database with auto-generated REST and GraphQL APIs, a visual Studio for teammates, and MCP connectivity for AI tools on your data.
Key features
- Auto-generated REST and GraphQL APIs
- Visual data Studio
- Field-level access policies
- Built-in AI Assistant
- Native MCP server
- Multiple SQL database backends
Grav
Grav is a file-based web platform using Markdown, YAML, Twig, and PHP. Recent releases add a first-party REST API, MCP server, and SvelteKit admin for headless and agent-driven workflows.
Key features
- Flat-file Markdown and YAML content
- Package manager for plugins and themes
- REST API and MCP server in Grav 2
- SvelteKit-based Admin 2.0 interface
- Twig templating and Symfony stack
- Built-in search and image pipeline