Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

jbboehr/hhvm-handlebars

Repository files navigation

hhvm-handlebars

Build Status

HHVM bindings for handlebars.c. Use with handlebars.php.

Installation

Source

Install handlebars.c

Ubuntu

Note: For precise, see .travis.sh

# HHVM dev dependencies
sudo apt-get install libboost-dev libjemalloc-dev libgoogle-glog-dev libtbb-dev

git clone https://github.com/jbboehr/hhvm-handlebars.git --recursive
cd hhvm-handlebars
hphpize
cmake .
make
sudo make install

To enable, add this to your HHVM config:

hhvm.dynamic_extension_path = /path/to/hhvm/extensions
hhvm.dynamic_extensions[handlebars] = handlebars.so

License

This project is licensed under the LGPLv3.