sitegeist/stencil-roller

Last activity 02 Oct 2019 1 3
composer require sitegeist/stencil-roller

Json rendering for headless Neos

dev-master

Version
dev-master
Type
neos-package
Release Date
Oct 02, 2019 16:15
Source
git
Distribution
zip
Requires
GPL-3.0-or-later 6a479cb78a9c25be68112ff805aa30b3d4af94b5

Sitegeist.Stencil.Roller

Json API for headless Neos

This is WIP, everything in here may change or turn out to be a bad idea at all.

This package will expose the content of each document as json. You can access the document data by using .stencil.roller.json suffix instead of .html.

The returned json:

{
   document: {
     identifier 
     nodeType
     properties: {
       // all properties of the node
     }  
     content: {
       // all children of type Content and ContentCollection recursively 
     } 
   }
   children: [{identifier, uri}, ..] // all children of type Document
}

Authors & Sponsors

The development and the public-releases of this package is generously sponsored by our employer https://www.sitegeist.de.

Installation

Sitegeist.Stencil.Roller is available via packagist. Just run composer require sitegeist/stencil-roller to install it. We use semantic-versioning so every breaking change will increase the major-version number.

Contribution

We will gladly accept contributions. Please send us pull requests.

The content of the readme is provided by Github
The same vendor provides 28 package(s).