laminas-view PhpRenderer integration for Mezzio.
Install this library using composer:
$ composer require mezzio/mezzio-laminasviewrenderer
We recommend using PSR-11 compatible dependency injection container. We can recommend the following implementations:
- laminas-servicemanager:
composer require laminas/laminas-servicemanager
- Pimple:
composer require laminas/laminas-pimple-config
- Aura.Di:
composer require laminas/laminas-auradi-config
To use view helpers, the LaminasViewRendererFactory
:
- requires a
config
service; with - a
view_helpers
sub-key; which - follows standard laminas-servicemanager configuration.
Browse online at https://docs.mezzio.dev/mezzio/features/template/laminas-view/.