Views for the WordPress GeniePress framework using twig 3.0

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/geniepress/view

1.0.0 2021-10-14 03:34 UTC

This package is auto-updated.

Last update: 2025-12-14 20:50:27 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