Views for the WordPress GeniePress framework using twig 3.0

1.0.0 2021-10-14 03:34 UTC

This package is auto-updated.

Last update: 2024-11-14 18:39:48 UTC


README

Use twig with the GeniePress framework

Register with Genie

<?php

use GeniePress\View\View;
use GeniePress\Genie;

Genie::createPlugin()
     ->bootstrap(function() { 
        View::setup();
     })
     ->start();

View folder

By default, View looks for twig templates in src/twig

Version 1.0.0