Installation¶
Important
Composer installation required
Installations from other sources than Composer (e.g. Extension Manager, TYPO3 Extension Repository) are currently not supported and might not work as expected.
Requirements¶
- PHP 7.1 - 8.0
- Composer
- TYPO3 10.4 LTS - 11.x
Installation¶
Require the extension via Composer:
composer require cpsit/typo3-handlebars
Define dependencies¶
Attention
This is an essential step to ensure service configuration is interpreted correctly.
Each extension that depends on EXT:handlebars needs to explicitly define it as
dependency in the appropriate ext_emconf.php
file:
# ext_emconf.php
$EM_CONF[$_EXTKEY] = [
'constraints' => [
'depends' => [
'handlebars' => '0.5.0-0.5.99',
],
],
];
Otherwise, template paths are not evaluated in the right order and might get overridden.