schranz-templating/mezzio-mustache-integration
最新稳定版本:0.1.0
Composer 安装命令:
composer require schranz-templating/mezzio-mustache-integration
包简介
A integration of template renderer into mezzio via mustache template engine.
README 文档
README
Integrate the templating Mustache Adapter into the Mezzio Framework.
Part of the Schranz Templating Project.
Installation
Install this package via Composer:
composer require schranz-templating/mezzio-mustache-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\Mustache\ConfigProvider::class, ]);
Configuration
The following configuration is available:
// src/App/src/ConfigProvider.php class ConfigProvider { public function __invoke(): array { return [ // ... 'mustache' => [ 'path' => 'src/App/templates', 'cache_dir' => 'data/cache/mustache', ], ]; } }
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-06