zendframework/zend-expressive-template
最新稳定版本:2.0.1
Composer 安装命令:
composer require zendframework/zend-expressive-template
包简介
Template subcomponent for Expressive
README 文档
README
Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-template.
Template subcomponent for Expressive.
This package provides the following classes, interfaces, and traits:
TemplateRendererInterface, a generic interface for providing template rendering capabilities.TemplatePath, a value object describing a (optionally) namespaced path in which templates reside; theTemplateRendererInterfacereturns these.ArrayParametersTraitprovides helper methods you can mix in to implementations for normalizing template parameters to an array.DefaultParamsTraitprovides helper methods you can mix in to implementations for aggregating default parameters as well as merging global, template-specific, and provided parameters when rendering.
Installation
Typically, you will install this when installing Expressive. However, it can be used standalone to provide a generic way to provide templating to your application. To do this, use:
$ composer require zendframework/zend-expressive-template
We currently support and provide the following routing integrations:
- Plates:
composer require zendframework/zend-expressive-platesrenderer - Twig:
composer require zendframework/zend-expressive-twigrenderer - ZF2 PhpRenderer:
composer require zendframework/zend-expressive-zendviewrenderer
Documentation
Expressive provides template documentation.
统计信息
- 总下载量: 1.74M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 1
- 依赖项目数: 27
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-12-02