schranz-templating/laminas-smarty-integration

通过 Smarty 模板引擎将模板渲染器集成到 Laminas。

0.1.0 2022-09-17 15:53 UTC

This package is auto-updated.

Last update: 2024-08-29 05:31:50 UTC


README

Smarty 适配器 集成到 Laminas 框架

Schranz 模板项目 的一部分。

安装

通过 Composer 安装此包

composer require schranz-templating/laminas-smarty-integration

将模块添加到 config/modules.config.php.php

return [
    // ...
    'Schranz\Templating\Integration\Laminas\Smarty',
];

配置

示例和默认配置可以在 config/module.config.php 中找到。