JunekCZ / page-as-data

Grav plugin that adds support for json xml and yaml response formats (updated to version 1.7.41.1)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grav Pages as Data

The Grav Pages as Data for Grav provides a very basic way for APIs to return data from grav as json xml or yml.

Installation

Download and unpack a zip (or clone this repository) into the user/plugins directory of your project

Usage

Try to load any page in Grav then add one of the following: ?return-as=json ?return-as=xml ?return-as=yml

About

Grav plugin that adds support for json xml and yaml response formats (updated to version 1.7.41.1)

License:MIT License


Languages

Language:PHP 100.0%