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
Requires
- php: ^7.0 || ^8.0
- psr/container: ^1.0 || ^2.0
- schranz-templating/mezzio-template-adapter: ^0.1
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: