visol / typo3-handlebars
This is a TYPO3 CMS extension to render native handlebars templates
Installs: 3 023
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 3
Open Issues: 1
Type:typo3-cms-extension
Requires
- php: >= 8.0 < 8.4
- typo3/cms-core: ^12.4
- typo3/cms-extbase: ^12.4
- typo3fluid/fluid: ^2.7
- zordius/lightncandy: ^1.2
Requires (Dev)
- phpstan/phpstan: ^1.10
- dev-master
- 4.0.0
- 3.0.2
- 3.0.1
- 3.0.0
- v2.0.0
- dev-feature/update-v12
- dev-feature/php82
- dev-dependabot/composer/phpstan/phpstan-1.10.6
- dev-feature/refactor-namespace
- dev-update-v11
- dev-feature/updateV11
- dev-dependabot/add-v2-config-file
- dev-feature/renderviewhelper
- dev-task/licence
- dev-feature/register-new-helper
- dev-feature/adapt-handlebarsview
- dev-bugfix/backenduser
This package is auto-updated.
Last update: 2025-04-22 08:20:12 UTC
README
This is a TYPO3 CMS extension to render native handlebars templates
Helper
Within the extension there are a few Handlebars helpers configured by default,
such as content
, block
, json
, lookup
. On the top of that we can add new
custom handlebars helper which can be declared in ext_localconf.php
as follows
\Visol\Handlebars\HelperRegistry::getInstance()->register(
'foo',
function ($labels, $key) {
return $labels[$key];
}
);