schranz-templating/spiral-handlebars-integration
最新稳定版本:0.1.0
Composer 安装命令:
composer require schranz-templating/spiral-handlebars-integration
包简介
A integration of template renderer into spiral via handlebars template engine.
README 文档
README
Integrate the templating Handlebars Adapter into the Spiral Framework.
Part of the Schranz Templating Project.
Installation
Install this package via Composer:
composer require schranz-templating/spiral-handlebars-integration
Register the Bootloader class in your app/src/Application/Kernel.php if not already automatically
added by the framework:
class Kernel extends \Spiral\Framework\Kernel { protected const LOAD = [ // ... \Schranz\Templating\Integration\Spiral\Handlebars\Bootloader\HandlebarsBootloader::class, ]; }
Configuration
The integration provides the following configuration.
// app/config/schranz_templating_handlebars.php declare(strict_types=1); return [ 'path' => 'app/views', 'cache_dir' => 'runtime/cache/handlebars', ];
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-09