Skip to content

License

Notifications You must be signed in to change notification settings

phug-php/renderer

Repository files navigation

Phug Renderer

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors