phug-php/renderer

View on GitHub
README.md

Summary

Maintainability
Test Coverage

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

```bash
composer require phug/renderer
```

Usage
-----

```php

$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.)
```