phug/renderer

Pug (ex-Jade) renderer for PHP, HTML template engine structured by indentation

Installs: 78 614

Dependents: 2

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 1

pkg:composer/phug/renderer

1.13.0 2024-03-19 14:41 UTC

README

What is Phug Renderer?

The Phug renderer get pug string or a pug file then return a markup string.

Installation

Install via Composer

composer require phug/renderer

Usage

$renderer = new Phug\Renderer($options);
$html = $renderer->render($pugInput);

//$html is now a string of HTML or any other markup according to the formatter you choose (XML, xHTML, etc.)

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.