Jade.php adds inline PHP scripting support to the Jade template compiler.
The fork is a complete rewrite, all the code is ported from the original jade project.
All the features from the original are supported but undertested, including inheritance and mixins.
See original Jade Docs.
namespace Jade;
require __DIR__ . '/vendor/autoload.php';
$jade = new Jade('/tmp', true);
echo $jade->render('index.jade');
namespace Jade;
require __DIR__ . '/vendor/autoload.php';
$jade = new Jade('/tmp', true);
$title = "Hello World";
$header = "this is append";
require $jade->cache('index.jade');
git clone https://github.com/JumpLink/jade.php.git
cd jade.php/example
php -S localhost:8000
xdg-open http://localhost:8000/main.php
xdg-open http://localhost:8000/variables.php
Note: Tests need to be fixed!
git clone https://github.com/JumpLink/jade.php.git
cd jade.php
composer install
php vendor/bin/phpunit src/tests/EachTest.php
Please check the git commit history for the authoritative list of contributors.