Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Jade Template parser

I'm looking for a PHP implementation of the Jade template engine used in NodeJS. I've recently tried Jade.php, but it is incomplete as it does not support inheritance or partials. I've also seen PHPNativeJadeRenderer, but it relies on a shell_exec to parse the template file through the npm jade module and I'm not entirely comfortable with using that method.

Does anybody know of a complete PHP OOP port of the Jade Template Engine?

like image 291
Pastor Bones Avatar asked Nov 13 '12 03:11

Pastor Bones


1 Answers

Update (03.12.2015):

It seems Tale Jade seems to be the most complete and most active integration of Jade into PHP.

https://github.com/Talesoft/tale-jade

just as an update:

it seems, this fork: https://github.com/SC7639/jade.php has the most features and nearly the most recent activity. (May 2016)

A chart of jade.php fork/commit activity on GitHub.

like image 62
BananaAcid Avatar answered Sep 23 '22 20:09

BananaAcid