Vision

Vision is a template render package for zaphyr applications. This package is build on top of Twig.


Installation

1:

composer require merloxx/vision

2:

php zaphyr package:install vision

3:

in Controller einbinden

Merloxx\Vision\VisionTrait.php

4:

in Controller action einbinden

return $this->vision()->render('@page/welcome.twig');