PHPackages                             vkbansal/frontmatter - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. vkbansal/frontmatter

Abandoned → [webuni/front-matter](/?search=webuni%2Ffront-matter)ArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

vkbansal/frontmatter
====================

Frontmatter allows page-specific variables to be included at the top of a template using the YAML,JSON or INI format.

v1.3.2(10y ago)111.1k12MITPHPPHP &gt;=5.4.0

Since Sep 15Pushed 9y ago2 watchersCompare

[ Source](https://github.com/vkbansal/FrontMatter)[ Packagist](https://packagist.org/packages/vkbansal/frontmatter)[ Docs](https://github.com/vkbansal/FrontMatter)[ RSS](/packages/vkbansal-frontmatter/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (8)Dependencies (2)Versions (11)Used By (2)

!! No Longer Maintained !!
==========================

[](#-no-longer-maintained-)

use  instead

[![Latest Stable Version](https://camo.githubusercontent.com/eb98fe58b74563a2dab88c2c438a6be033d39717979a49dc5906d98ee2d518ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766b62616e73616c2f46726f6e744d61747465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vkbansal/frontmatter)[![Build Status](https://camo.githubusercontent.com/552558e580b478cb14251e29f0ab86059f82a51d9b38028dfe55af3d257e8e6d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f766b62616e73616c2f46726f6e744d61747465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vkbansal/FrontMatter)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7f888d06b9140859f890cd7d1f3eb23f42bd01e63509eb4101ade1f5a177567c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f766b62616e73616c2f46726f6e744d61747465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vkbansal/FrontMatter/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/d0ffda520c603f8f568715767ecf13d098ee53cb715a476e64b1e61368aaef3b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f766b62616e73616c2f46726f6e744d61747465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vkbansal/FrontMatter/?branch=master)[![Code Climate](https://camo.githubusercontent.com/a54b36d49b6573c0dbfbe06041b668e46c577db1c5f69532a5f0104640c02c20/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f766b62616e73616c2f46726f6e744d61747465722e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/vkbansal/FrontMatter)[![License](https://camo.githubusercontent.com/1f1f681254bc3efbf92fe58c3d795367dd4cae5c2c5ee13b6aaf271cc7644bc6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vkbansal/frontmatter)[![Dependency Status](https://camo.githubusercontent.com/06b4241ad3f85dad1c7b77cc2506b8a62f1b0d29cfd16222161308f22ae6144b/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534373661373233646663363538366565373030303130322f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5476a723dfc6586ee7000102)

[![SensioLabsInsight](https://camo.githubusercontent.com/049654d35cb43b4d03a3cdaf42d4d8055b57b5253e94e78d4b3389c76ee35a1d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38373233666630342d363061632d343362322d623433322d3138666165303832393937392f6269672e706e67)](https://insight.sensiolabs.com/projects/8723ff04-60ac-43b2-b432-18fae0829979)\#FrontMatter Frontmatter allows page-specific variables to be included at the top of a template using the YAML or JSON format.

\##Requirements

- PHP &gt;= 5.4

\##Installation Create or update your composer.json and run `composer update`

```
$ composer require vkbansal/frontmatter
```

\##Supported Formats

- YAML
- JSON
- INI

Quick usage
-----------

[](#quick-usage)

```
