PHPackages                             getgrav/grav - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. getgrav/grav

ActiveProject[Database &amp; ORM](/categories/database)

getgrav/grav
============

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS

1.7.49.5(6mo ago)15.4k84.1k—3.6%1.4k[204 issues](https://github.com/getgrav/grav/issues)[29 PRs](https://github.com/getgrav/grav/pulls)1MITPHPPHP ^7.3.6 || ^8.0CI passing

Since Aug 13Pushed 2mo ago330 watchersCompare

[ Source](https://github.com/getgrav/grav)[ Packagist](https://packagist.org/packages/getgrav/grav)[ Docs](https://getgrav.org)[ Fund](https://opencollective.com/grav)[ RSS](/packages/getgrav-grav/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (49)Versions (323)Used By (1)Security (52)

[![](https://avatars1.githubusercontent.com/u/8237355?v=2&s=50)](https://avatars1.githubusercontent.com/u/8237355?v=2&s=50) Grav
================================================================================================================================

[](#-grav)

[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)[![Discord](https://camo.githubusercontent.com/74e3b1e8948f823334dacf0753ed7a6039a2aadb528cb32ef61b45cebbe6cc00/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3530313833363933363538343130313839392e7376673f6c6f676f3d646973636f726426636f6c6f72423d373238414441266c6162656c3d446973636f726425323043686174)](https://chat.getgrav.org)[![PHP Tests](https://github.com/getgrav/grav/workflows/PHP%20Tests/badge.svg?branch=develop)](https://github.com/getgrav/grav/actions?query=workflow%3A%22PHP+Tests%22) [![OpenCollective](https://camo.githubusercontent.com/232a5e34eb314512698105f5e07d61a4118c1be1dc39e0302bb88aadb50f29d8/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f6261636b6572732f62616467652e7376673f6c6162656c3d4261636b65727326636f6c6f723d627269676874677265656e)](#backers) [![OpenCollective](https://camo.githubusercontent.com/13f04abc52f9f687c080ba7abe5ffadd6b58f52e7c690ba747159c689fb3833e/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f737570706f72746572732f62616467652e7376673f6c6162656c3d537570706f727465727326636f6c6f723d627269676874677265656e)](#supporters) [![OpenCollective](https://camo.githubusercontent.com/13d6f286e9612af03f2cc521c40b0542cf6c70206edebb2a8232d9edc136eaa6/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f73706f6e736f72732f62616467652e7376673f6c6162656c3d53706f6e736f727326636f6c6f723d627269676874677265656e)](#sponsors)

Grav is a **Fast**, **Simple**, and **Flexible**, file-based Web-platform. There is **Zero** installation required. Just extract the ZIP archive, and you are already up and running. It follows similar principles to other flat-file CMS platforms, but has a different design philosophy than most. Grav comes with a powerful **Package Management System** to allow for simple installation and upgrading of plugins and themes, as well as simple updating of Grav itself.

The underlying architecture of Grav is designed to use well-established and *best-in-class* technologies to ensure that Grav is simple to use and easy to extend. Some of these key technologies include:

- [Twig Templating](https://twig.symfony.com/): for powerful control of the user interface
- [Markdown](https://en.wikipedia.org/wiki/Markdown): for easy content creation
- [YAML](https://yaml.org): for simple configuration
- [Parsedown](https://parsedown.org/): for fast Markdown and Markdown Extra support
- [Doctrine Cache](https://www.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html): layer for performance
- [Pimple Dependency Injection Container](https://github.com/silexphp/Pimple): for extensibility and maintainability
- [Symfony Event Dispatcher](https://symfony.com/doc/current/components/event_dispatcher/introduction.html): for plugin event handling
- [Symfony Console](https://symfony.com/doc/current/components/console/introduction.html): for CLI interface
- [Gregwar Image Library](https://github.com/Gregwar/Image): for dynamic image manipulation

Requirements
============

[](#requirements)

- PHP 7.3.6 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements)
- Check the [Apache](https://learn.getgrav.org/basics/requirements#apache-requirements) or [IIS](https://learn.getgrav.org/basics/requirements#iis-requirements) requirements

Documentation
=============

[](#documentation)

The full documentation can be found from [learn.getgrav.org](https://learn.getgrav.org).

QuickStart
==========

[](#quickstart)

These are the options to get Grav:

### Downloading a Grav Package

[](#downloading-a-grav-package)

You can download a **ready-built** package from the [Downloads page on https://getgrav.org](https://getgrav.org/downloads)

### With Composer

[](#with-composer)

You can create a new project with the latest **stable** Grav release with the following command:

```
composer create-project getgrav/grav ~/webroot/grav
```

### From GitHub

[](#from-github)

1. Clone the Grav repository from https://github.com/getgrav/grav to a folder in the webroot of your server, e.g. `~/webroot/grav`. Launch a **terminal** or **console** and navigate to the webroot folder:

    ```
    cd ~/webroot
    git clone https://github.com/getgrav/grav.git
    ```
2. Install the **plugin** and **theme dependencies** by using the [Grav CLI application](https://learn.getgrav.org/advanced/grav-cli) `bin/grav`:

    ```
    cd ~/webroot/grav
    bin/grav install
    ```

Check out the [install procedures](https://learn.getgrav.org/basics/installation) for more information.

Adding Functionality
====================

[](#adding-functionality)

You can download [plugins](https://getgrav.org/downloads/plugins) or [themes](https://getgrav.org/downloads/themes) manually from the appropriate tab on the [Downloads page on https://getgrav.org](https://getgrav.org/downloads), but the preferred solution is to use the [Grav Package Manager](https://learn.getgrav.org/advanced/grav-gpm) or `GPM`:

```
bin/gpm index
```

This will display all the available plugins and then you can install one or more with:

```
bin/gpm install
```

Updating
========

[](#updating)

To update Grav you should use the [Grav Package Manager](https://learn.getgrav.org/advanced/grav-gpm) or `GPM`:

```
bin/gpm selfupgrade
```

To update plugins and themes:

```
bin/gpm update
```

Upgrading from older version
----------------------------

[](#upgrading-from-older-version)

- [Upgrading to Grav 1.7](https://learn.getgrav.org/16/advanced/grav-development/grav-17-upgrade-guide)
- [Upgrading to Grav 1.6](https://learn.getgrav.org/16/advanced/grav-development/grav-16-upgrade-guide)
- [Upgrading from Grav &lt;1.6](https://learn.getgrav.org/16/advanced/grav-development/grav-15-upgrade-guide)

Contributing
============

[](#contributing)

We appreciate any contribution to Grav, whether it is related to bugs, grammar, or simply a suggestion or improvement! Please refer to the [Contributing guide](CONTRIBUTING.md) for more guidance on this topic.

Security issues
---------------

[](#security-issues)

If you discover a possible security issue related to Grav or one of its plugins, please email the core team at  and we'll address it as soon as possible.

Getting Started
===============

[](#getting-started)

- [What is Grav?](https://learn.getgrav.org/basics/what-is-grav)
- [Install](https://learn.getgrav.org/basics/installation) Grav in few seconds
- Understand the [Configuration](https://learn.getgrav.org/basics/grav-configuration)
- Take a peek at our available free [Skeletons](https://getgrav.org/downloads/skeletons)
- If you have questions, jump on our [Discord Chat Server](https://chat.getgrav.org)!
- Have fun!

Exploring More
==============

[](#exploring-more)

- Have a look at our [Basic Tutorial](https://learn.getgrav.org/basics/basic-tutorial)
- Dive into more [advanced](https://learn.getgrav.org/advanced) functions
- Learn about the [Grav CLI](https://learn.getgrav.org/cli-console/grav-cli)
- Review examples in the [Grav Cookbook](https://learn.getgrav.org/cookbook)
- More [Awesome Grav Stuff](https://github.com/getgrav/awesome-grav)

Backers
=======

[](#backers)

Support Grav with a monthly donation to help us continue development. \[[Become a backer](https://opencollective.com/grav/contribute)\]

[![](https://camo.githubusercontent.com/5f92e2be25486d91828fdea5bdf746c52838163bbd9d27911410b365f45666de/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f6261636b6572732e7376673f6176617461724865696768743d33362677696474683d363030)](https://camo.githubusercontent.com/5f92e2be25486d91828fdea5bdf746c52838163bbd9d27911410b365f45666de/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f6261636b6572732e7376673f6176617461724865696768743d33362677696474683d363030)

Supporters
==========

[](#supporters)

Support Grav with a monthly donation to help us continue development. \[[Become a supporter](https://opencollective.com/grav/contribute)\]

[![](https://camo.githubusercontent.com/bc4de7ff66277e0bb0eb2787f572ca40c6e9829b3bd5e9d521c1ad044218eec4/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f737570706f72746572732e7376673f6176617461724865696768743d33362677696474683d363030)](https://camo.githubusercontent.com/bc4de7ff66277e0bb0eb2787f572ca40c6e9829b3bd5e9d521c1ad044218eec4/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f737570706f72746572732e7376673f6176617461724865696768743d33362677696474683d363030)

Sponsors
========

[](#sponsors)

Support Grav with a yearly donation to help us continue development. \[[Become a sponsor](https://opencollective.com/grav/contribute)\]

[![](https://camo.githubusercontent.com/fe5ef682984b9d65a8d1a01bffbd5e58e5d5b8510a96565481fc01f71c7f4627/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f73706f6e736f72732e7376673f6176617461724865696768743d33362677696474683d363030)](https://camo.githubusercontent.com/fe5ef682984b9d65a8d1a01bffbd5e58e5d5b8510a96565481fc01f71c7f4627/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f677261762f74696572732f73706f6e736f72732e7376673f6176617461724865696768743d33362677696474683d363030)

License
=======

[](#license)

See [LICENSE](LICENSE.txt)

Running Tests
=============

[](#running-tests)

First install the dev dependencies by running `composer install` from the Grav root.

Then `composer test` will run the Unit Tests, which should be always executed successfully on any site. Windows users should use the `composer test-windows` command. You can also run a single unit test file, e.g. `composer test tests/unit/Grav/Common/AssetsTest.php`

To run phpstan tests, you should run:

- `composer phpstan` for global tests
- `composer phpstan-framework` for more strict tests
- `composer phpstan-plugins` to test all installed plugins

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance77

Regular maintenance activity

Popularity65

Solid adoption and visibility

Community45

Growing community involvement

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 73.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Recently: every ~26 days

Total

316

Last Release

62d ago

Major Versions

0.9.45 → 1.0.0-rc.12015-10-23

PHP version history (8 changes)0.8.0PHP &gt;=5.3.10

0.9.0PHP &gt;=5.4.0

1.0.6PHP &gt;=5.5.9

1.5.0-beta.1PHP &gt;=5.6.4

1.6.0-beta.1PHP &gt;=7.1.3

1.7.0-rc.18PHP ^7.3.6 || ^8.0

1.8.0-beta.1PHP ^8.2

1.8.0-beta.18PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a85f5988e5b0457d61a12de933780ad099689271767b717feba55f04723c453?d=identicon)[rhukster](/maintainers/rhukster)

![](https://www.gravatar.com/avatar/5a5d29631800a28a2ec3531cc34fa45e62d6a16a330659da3db7bc2079c447c3?d=identicon)[w00fz](/maintainers/w00fz)

---

Top Contributors

[![rhukster](https://avatars.githubusercontent.com/u/1084697?v=4)](https://github.com/rhukster "rhukster (3600 commits)")[![flaviocopes](https://avatars.githubusercontent.com/u/11783388?v=4)](https://github.com/flaviocopes "flaviocopes (630 commits)")[![w00fz](https://avatars.githubusercontent.com/u/11734?v=4)](https://github.com/w00fz "w00fz (434 commits)")[![Sommerregen](https://avatars.githubusercontent.com/u/9073307?v=4)](https://github.com/Sommerregen "Sommerregen (38 commits)")[![Rotzbua](https://avatars.githubusercontent.com/u/7337347?v=4)](https://github.com/Rotzbua "Rotzbua (19 commits)")[![rindeal](https://avatars.githubusercontent.com/u/5360877?v=4)](https://github.com/rindeal "rindeal (13 commits)")[![hwmaier](https://avatars.githubusercontent.com/u/778078?v=4)](https://github.com/hwmaier "hwmaier (13 commits)")[![Vivalldi](https://avatars.githubusercontent.com/u/8962537?v=4)](https://github.com/Vivalldi "Vivalldi (12 commits)")[![pierrejoye](https://avatars.githubusercontent.com/u/282408?v=4)](https://github.com/pierrejoye "pierrejoye (9 commits)")[![NicoHood](https://avatars.githubusercontent.com/u/6888294?v=4)](https://github.com/NicoHood "NicoHood (9 commits)")[![OleVik](https://avatars.githubusercontent.com/u/974717?v=4)](https://github.com/OleVik "OleVik (8 commits)")[![mahagr](https://avatars.githubusercontent.com/u/854915?v=4)](https://github.com/mahagr "mahagr (8 commits)")[![ricardo118](https://avatars.githubusercontent.com/u/7531933?v=4)](https://github.com/ricardo118 "ricardo118 (7 commits)")[![toovy](https://avatars.githubusercontent.com/u/350002?v=4)](https://github.com/toovy "toovy (7 commits)")[![nazwa](https://avatars.githubusercontent.com/u/4353913?v=4)](https://github.com/nazwa "nazwa (6 commits)")[![eschmar](https://avatars.githubusercontent.com/u/2345471?v=4)](https://github.com/eschmar "eschmar (6 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (6 commits)")[![robwent](https://avatars.githubusercontent.com/u/411678?v=4)](https://github.com/robwent "robwent (5 commits)")[![ViliusS](https://avatars.githubusercontent.com/u/2323565?v=4)](https://github.com/ViliusS "ViliusS (5 commits)")[![newbthenewbd](https://avatars.githubusercontent.com/u/1766353?v=4)](https://github.com/newbthenewbd "newbthenewbd (5 commits)")

---

Tags

cmscontentcontent-managementdoctrineflat-filegravmarkdownphpphp7symfonytwigwebsitewebsite-builderwebsite-generationyamlphpcmsflat cmsflat-file cmsflatfile cms

###  Code Quality

TestsCodeception

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/getgrav-grav/health.svg)

```
[![Health](https://phpackages.com/badges/getgrav-grav/health.svg)](https://phpackages.com/packages/getgrav-grav)
```

###  Alternatives

[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
