Handlebars templating language

This extension embeds a Handlebars interpreter into PHP, allowing the execution of Handlebars templates.

License: BSD-2-Clause

Latest releases

Version Release Download
0.9.2 2020-12-07 handlebars-0.9.2.tgz
0.9.1 2020-04-18 handlebars-0.9.1.tgz
0.9.0 2020-04-17 handlebars-0.9.0.tgz
0.8.3 2018-11-11 handlebars-0.8.3.tgz
0.8.2 2018-03-05 handlebars-0.8.2.tgz
Show all releases


Version Message
0.9.2 - Fixes for PHP 8
0.9.1 - Fixed test failure on PHP 8 (@remicollet)
- Fixed test failure on 32bit
- The compiled template produced by `Handlebars\VM::compile()` should now be deterministic, if using handlebars.c >= 0.7.1.
0.9.0 - Preliminary PHP 8 support
- Support for precompiling templates
- Mustache-style lambda support
- Drop max PHP version constraint
- Selective helper options omission
- Improved typehints
See CHANGELOG.md for full details
0.8.3 - Allow installation on PHP 7.3
- Removed class aliases `Handlebars\Registry\Registry` for `Handlebars\Registry` and `Handlebars\Registry\DefaultRegistry` for `Handlebars\DefaultRegistry`
0.8.2 - Mustache delimiter preprocessing support behind the compat flag
- Property lookup now generates a closure from a method if the value of the property is null or does not exist to emulate the behaviour of javascript where functions and properties share a symbol table - only supported for PHP 7 or greater
- Changed target handlebars.c version to 0.6.4
Show complete changelog