[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8126":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},8126,"grav","getgrav\u002Fgrav","getgrav","Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony","https:\u002F\u002Fgetgrav.org",null,"PHP",15515,1410,319,431,0,7,44,5,44.45,"MIT License",false,"develop",[25,26,27,28,29,5,30,31,32,33,34,35,36,37,38],"cms","content","content-management","doctrine","flat-file","markdown","php","php7","symfony","twig","website","website-builder","website-generation","yaml","2026-06-12 02:01:49","# ![](https:\u002F\u002Favatars1.githubusercontent.com\u002Fu\u002F8237355?v=2&s=50) Grav\n\n[![PHPStan](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPHPStan-enabled-brightgreen.svg?style=flat)](https:\u002F\u002Fgithub.com\u002Fphpstan\u002Fphpstan)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F501836936584101899.svg?logo=discord&colorB=728ADA&label=Discord%20Chat)](https:\u002F\u002Fchat.getgrav.org)\n [![PHP Tests](https:\u002F\u002Fgithub.com\u002Fgetgrav\u002Fgrav\u002Fworkflows\u002FPHP%20Tests\u002Fbadge.svg?branch=develop)](https:\u002F\u002Fgithub.com\u002Fgetgrav\u002Fgrav\u002Factions?query=workflow%3A%22PHP+Tests%22) [![OpenCollective](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fbackers\u002Fbadge.svg?label=Backers&color=brightgreen)](#backers) [![OpenCollective](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fsupporters\u002Fbadge.svg?label=Supporters&color=brightgreen)](#supporters) [![OpenCollective](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fsponsors\u002Fbadge.svg?label=Sponsors&color=brightgreen)](#sponsors)\n\nGrav 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.\n\nThe 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:\n\n* [Twig Templating](https:\u002F\u002Ftwig.symfony.com\u002F): for powerful control of the user interface\n* [Markdown](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMarkdown): for easy content creation\n* [YAML](https:\u002F\u002Fyaml.org): for simple configuration\n* [Parsedown](https:\u002F\u002Fparsedown.org\u002F): for fast Markdown and Markdown Extra support\n* [Doctrine Cache](https:\u002F\u002Fwww.doctrine-project.org\u002Fprojects\u002Fdoctrine-orm\u002Fen\u002Flatest\u002Freference\u002Fcaching.html): layer for performance\n* [Pimple Dependency Injection Container](https:\u002F\u002Fgithub.com\u002Fsilexphp\u002FPimple): for extensibility and maintainability\n* [Symfony Event Dispatcher](https:\u002F\u002Fsymfony.com\u002Fdoc\u002Fcurrent\u002Fcomponents\u002Fevent_dispatcher\u002Fintroduction.html): for plugin event handling\n* [Symfony Console](https:\u002F\u002Fsymfony.com\u002Fdoc\u002Fcurrent\u002Fcomponents\u002Fconsole\u002Fintroduction.html): for CLI interface\n* [Gregwar Image Library](https:\u002F\u002Fgithub.com\u002FGregwar\u002FImage): for dynamic image manipulation\n\n# Requirements\n\n- PHP 7.3.6 or higher. Check the [required modules list](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Frequirements#php-requirements)\n- Check the [Apache](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Frequirements#apache-requirements) or [IIS](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Frequirements#iis-requirements) requirements\n\n# Documentation\n\nThe full documentation can be found from [learn.getgrav.org](https:\u002F\u002Flearn.getgrav.org).\n\n# QuickStart\n\nThese are the options to get Grav:\n\n### Downloading a Grav Package\n\nYou can download a **ready-built** package from the [Downloads page on https:\u002F\u002Fgetgrav.org](https:\u002F\u002Fgetgrav.org\u002Fdownloads)\n\n### With Composer\n\nYou can create a new project with the latest **stable** Grav release with the following command:\n\n```bash\ncomposer create-project getgrav\u002Fgrav ~\u002Fwebroot\u002Fgrav\n```\n\n### From GitHub\n\n1. Clone the Grav repository from [https:\u002F\u002Fgithub.com\u002Fgetgrav\u002Fgrav]() to a folder in the webroot of your server, e.g. `~\u002Fwebroot\u002Fgrav`. Launch a **terminal** or **console** and navigate to the webroot folder:\n   ```bash\n   cd ~\u002Fwebroot\n   git clone https:\u002F\u002Fgithub.com\u002Fgetgrav\u002Fgrav.git\n   ```\n\n2. Install the **plugin** and **theme dependencies** by using the [Grav CLI application](https:\u002F\u002Flearn.getgrav.org\u002Fadvanced\u002Fgrav-cli) `bin\u002Fgrav`:\n   ```bash\n   cd ~\u002Fwebroot\u002Fgrav\n   bin\u002Fgrav install\n   ```\n\nCheck out the [install procedures](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Finstallation) for more information.\n\n# Adding Functionality\n\nYou can download [plugins](https:\u002F\u002Fgetgrav.org\u002Fdownloads\u002Fplugins) or [themes](https:\u002F\u002Fgetgrav.org\u002Fdownloads\u002Fthemes) manually from the appropriate tab on the [Downloads page on https:\u002F\u002Fgetgrav.org](https:\u002F\u002Fgetgrav.org\u002Fdownloads), but the preferred solution is to use the [Grav Package Manager](https:\u002F\u002Flearn.getgrav.org\u002Fadvanced\u002Fgrav-gpm) or `GPM`:\n\n```bash\nbin\u002Fgpm index\n```\n\nThis will display all the available plugins and then you can install one or more with:\n\n```bash\nbin\u002Fgpm install \u003Cplugin\u002Ftheme>\n```\n\n# Updating\n\nTo update Grav you should use the [Grav Package Manager](https:\u002F\u002Flearn.getgrav.org\u002Fadvanced\u002Fgrav-gpm) or `GPM`:\n\n```bash\nbin\u002Fgpm selfupgrade\n```\n\nTo update plugins and themes:\n\n```bash\nbin\u002Fgpm update\n```\n\n## Upgrading from older version\n\n* [Upgrading to Grav 1.7](https:\u002F\u002Flearn.getgrav.org\u002F16\u002Fadvanced\u002Fgrav-development\u002Fgrav-17-upgrade-guide)\n* [Upgrading to Grav 1.6](https:\u002F\u002Flearn.getgrav.org\u002F16\u002Fadvanced\u002Fgrav-development\u002Fgrav-16-upgrade-guide)\n* [Upgrading from Grav \u003C1.6](https:\u002F\u002Flearn.getgrav.org\u002F16\u002Fadvanced\u002Fgrav-development\u002Fgrav-15-upgrade-guide)\n\n# Contributing\nWe 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.\n\n## Security issues\nIf you discover a possible security issue related to Grav or one of its plugins, please email the core team at contact@getgrav.org and we'll address it as soon as possible.\n\n# Getting Started\n\n* [What is Grav?](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Fwhat-is-grav)\n* [Install](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Finstallation) Grav in few seconds\n* Understand the [Configuration](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Fgrav-configuration)\n* Take a peek at our available free [Skeletons](https:\u002F\u002Fgetgrav.org\u002Fdownloads\u002Fskeletons)\n* If you have questions, jump on our [Discord Chat Server](https:\u002F\u002Fchat.getgrav.org)!\n* Have fun!\n\n# Exploring More\n\n* Have a look at our [Basic Tutorial](https:\u002F\u002Flearn.getgrav.org\u002Fbasics\u002Fbasic-tutorial)\n* Dive into more [advanced](https:\u002F\u002Flearn.getgrav.org\u002Fadvanced) functions\n* Learn about the [Grav CLI](https:\u002F\u002Flearn.getgrav.org\u002Fcli-console\u002Fgrav-cli)\n* Review examples in the [Grav Cookbook](https:\u002F\u002Flearn.getgrav.org\u002Fcookbook)\n* More [Awesome Grav Stuff](https:\u002F\u002Fgithub.com\u002Fgetgrav\u002Fawesome-grav)\n\n# Backers\nSupport Grav with a monthly donation to help us continue development. [[Become a backer](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Fcontribute)]\n\n\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fbackers.svg?avatarHeight=36&width=600\" \u002F>\n\n\n# Supporters\nSupport Grav with a monthly donation to help us continue development. [[Become a supporter](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Fcontribute)]\n\n\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fsupporters.svg?avatarHeight=36&width=600\" \u002F>\n\n\n# Sponsors\nSupport Grav with a yearly donation to help us continue development. [[Become a sponsor](https:\u002F\u002Fopencollective.com\u002Fgrav\u002Fcontribute)]\n\n\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fgrav\u002Ftiers\u002Fsponsors.svg?avatarHeight=36&width=600\" \u002F>\n\n# License\n\nSee [LICENSE](LICENSE.txt)\n\n\n[gitflow-model]: http:\u002F\u002Fnvie.com\u002Fposts\u002Fa-successful-git-branching-model\u002F\n[gitflow-extensions]: https:\u002F\u002Fgithub.com\u002Fnvie\u002Fgitflow\n\n# Running Tests\n\nFirst install the dev dependencies by running `composer install` from the Grav root.\n\nThen `composer test` will run the Unit Tests, which should be always executed successfully on any site.\nWindows users should use the `composer test-windows` command.\nYou can also run a single unit test file, e.g. `composer test tests\u002Funit\u002FGrav\u002FCommon\u002FAssetsTest.php`\n\nTo run phpstan tests, you should run:\n\n* `composer phpstan` for global tests\n* `composer phpstan-framework` for more strict tests\n* `composer phpstan-plugins` to test all installed plugins\n","Grav 是一个基于文件的现代内容管理系统，使用 PHP、Markdown 和 Twig 等技术构建。其核心功能包括零安装部署、强大的包管理器以及灵活的内容创建和配置选项。通过采用Twig模板引擎、Markdown格式化和YAML配置等最佳实践技术，Grav不仅易于使用还支持高度自定义扩展。此外，它还集成了Doctrine缓存、Pimple依赖注入容器及Symfony事件分发器等组件以提升性能和可维护性。适用于需要快速搭建网站但又希望保持系统轻量级与灵活性的各种场景，如个人博客、企业官网或小型电子商务平台。",2,"2026-06-11 03:16:14","top_language"]