visol / typo3-handlebars
This is a TYPO3 CMS extension to render native handlebars templates
Installs: 2 786
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 3
Open Issues: 2
Type:typo3-cms-extension
Requires
- php: ~7.4.0 || ~8.0.0 || ~8.1.0
- typo3/cms-core: ^11.5
- typo3/cms-extbase: ^11.5
- typo3fluid/fluid: ^2.7.2
- zordius/lightncandy: ^1.2
Requires (Dev)
- phpstan/phpstan: 1.8.11
- dev-master
- 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: 2024-12-21 08:55:30 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];
}
);