Skip to content

mezzio/mezzio-laminasviewrenderer

laminas-view PhpRenderer Integration for Mezzio

Build Status Type Coverage

laminas-view PhpRenderer integration for Mezzio.

Installation

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

View Helpers

To use view helpers, the LaminasViewRendererFactory:

  • requires a config service; with
  • a view_helpers sub-key; which
  • follows standard laminas-servicemanager configuration.

Documentation

Browse online at https://docs.mezzio.dev/mezzio/features/template/laminas-view/.