This repository has moved to mezzio/mezzio-laminasviewrenderer.
zend-view PhpRenderer integration for Expressive.
Install this library using composer:
$ composer require zendframework/zend-expressive-zendviewrenderer
We recommend using PSR-11 compatible dependency injection container. We can recommend the following implementations:
- zend-servicemanager:
composer require zendframework/zend-servicemanager
- Pimple:
composer require zendframework/zend-pimple-config
- Aura.Di:
composer require zendframework/zend-auradi-config
To use view helpers, the ZendViewRendererFactory
:
- requires a
config
service; with - a
view_helpers
sub-key; which - follows standard zend-servicemanager configuration.
Browse online at https://docs.zendframework.com/zend-expressive/features/template/zend-view/.