Download the PHP package mnapoli/front-yaml without Composer
On this page you can find all versions of the php package mnapoli/front-yaml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package front-yaml
FrontYAML
An implementation of YAML Front matter for PHP. It can parse both YAML and Markdown.
Installation
Require the project with Composer:
Usage
If you don't want the Markdown to be parsed (maybe because it is not Markdown):
Example
The following file:
Will give:
YAML and Markdown parsers
This library uses dependency injection and abstraction to allow you to provide your own YAML or Markdown parser.
FrontYAML uses by default Symfony's YAML parser.
FrontYAML uses by default the League CommonMark parser.
All versions of front-yaml with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
symfony/yaml Version ^4.0|^5.0|^6.0|^7.0
league/commonmark Version ^2.0
symfony/yaml Version ^4.0|^5.0|^6.0|^7.0
league/commonmark Version ^2.0
The package mnapoli/front-yaml contains the following files
Loading the files please wait ....