Download the PHP package gkralik/laminas-smarty-module without Composer
On this page you can find all versions of the php package gkralik/laminas-smarty-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gkralik/laminas-smarty-module
More information about gkralik/laminas-smarty-module
Files in gkralik/laminas-smarty-module
Package laminas-smarty-module
Short Description Laminas module providing a Smarty rendering strategy
License Apache-2.0
Homepage https://github.com/gkralik/laminas-smarty-module
Informations about the package laminas-smarty-module
laminas-smarty-module
This is a module for integrating the Smarty template engine with Laminas.
Based on gkralik/zf3-smarty-module.
Installation with Composer
Installing via Composer is the only supported method.
Add the module to your applications configuration to enable it:
Configuration
For information on supported options refer to the module config file.
There is also a sample configuration file with all available configuration options.
You can set options for the Smarty engine under the smarty_options
configuration key (eg force_compile
, etc).
Pay attention to the compile_dir
and cache_dir
keys. Smarty needs write access to the directories specified there.
Documentation
Using Zend Framework view helpers
Using view helpers of Laminas is supported. Just call the view helper as you would do in a PHTML template:
All versions of laminas-smarty-module with dependencies
smarty/smarty Version ^3.1 || ^4.0
laminas/laminas-view Version ^2.0
laminas/laminas-servicemanager Version ^3.0