schranz-templating/mezzio-mezzio-template-integration

A integration of template renderer into mezzio via mezzio template engine.

0.1.0 2022-11-14 21:50 UTC

This package is auto-updated.

Last update: 2024-11-28 01:02:11 UTC


README

Integrate the templating Mezzio Template Adapter into the Mezzio Framework.

Part of the Schranz Templating Project.

Installation

Install this package via Composer:

composer require schranz-templating/mezzio-mezzio-template-integration

Register the ConfigProvider class in your config/config.php if not already automatically added by the framework:

// ...

$aggregator = new ConfigAggregator([
    // ...
    \Schranz\Templating\Integration\Mezzio\MezzioTemplate\ConfigProvider::class,
]);

Configuration

The Mezzio Integration has currently no configuration as Plates is supported out of the box by Mezzio and can be configured via one of the following integrations: