schranz-templating / laravel-smarty-integration
通过 Smarty 模板引擎将模板渲染器集成到 Laravel 中。
0.1.0
2022-09-17 15:53 UTC
Requires
- php: ^7.0 || ^8.0
- illuminate/support: ^8.0 || ^9.0
- illuminate/view: ^8.0 || ^9.0
- schranz-templating/smarty-adapter: ^0.1
README
将 Smarty Adapter 集成到 Laravel 框架中。
是 Schranz Templating 项目 的一部分。
安装
使用 Composer 安装此包
composer require schranz-templating/laravel-smarty-integration
根据项目设置,可能需要在 config/app.php
中添加以下内容
'providers' => [ // ... Schranz\Templating\Integration\Laravel\Smarty\SchranzTemplatingSmartyProvider::class, ],
配置
示例和默认配置可以在 config/schranz_templating_smarty.php 中找到。