zendframework/zend-expressive-template
Template subcomponent for Expressive
Maintainers
Package info
github.com/zendframework/zend-expressive-template
pkg:composer/zendframework/zend-expressive-template
Requires
- php: ^7.1
Requires (Dev)
- malukenho/docheader: ^0.1.6
- phpunit/phpunit: ^7.0.2
- zendframework/zend-coding-standard: ~1.0.0
Suggests
- zendframework/zend-expressive-platesrenderer: ^2.0 to use the Plates template renderer
- zendframework/zend-expressive-twigrenderer: ^2.0 to use the Twig template renderer
- zendframework/zend-expressive-zendviewrenderer: ^2.0 to use the zend-view PhpRenderer template renderer
Provides
None
Conflicts
None
Replaces
None
BSD-3-Clause b79ed49791a470270d4d0f65e9b163f914c74a91
This package is auto-updated.
Last update: 2020-01-20 17:59:44 UTC
README
Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-template.
👁 Build Status
👁 Coverage Status
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.
