There was an error while loading. Please reload this page.
The Phug compiler get pug string or a pug file then return a PHP compiled template.
Install via Composer
composer require phug/compiler
$compiler = new Phug\Compiler($options); $phtml = $compiler->compile($pugInput); //$phtml is the PHP compiled template