Twig.js for Bower

I like Twig in my PHP apps. I’ve also become quite fond of the JavaScript implementation too. It’s useful to only use a single syntax for all manner of reasons. I’m also a Bower user for various reasons that aren’t really important to this post.

Recently, Bower support was dropped from the main Twig.js repo; I understand the reasoning behind it, though for Bower folk like me it was a bit of a blow. So, I decided to put together a Bower repo containing the required code to install via Bower.

So, if you want the latest and greatest version of Twig.js, use the following:
[code lang=”bash”]bower install twigjs-bower –save[/code]

I’ll update the repo whenever there is a new version.

If you’d like to go to the code base directly, it’s available on Github