phug / renderer
Pug (ex-Jade) renderer for PHP, HTML template engine structured by indentation
Fund package maintenance!
kylekatarnls
Open Collective
Tidelift
Requires
- php: >=5.5.0
- phug/compiler: ^1.2
- phug/formatter: ^1.8.1
- phug/util: ^1.5
- symfony/var-dumper: ^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0
- dev-master / 1.x-dev
- 1.13.0
- 1.12.3
- 1.12.2
- 1.12.1
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.4.0-beta2
- 1.4.0-beta1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-RC3
- 1.0.0-RC.2
- 1.0.0-rc.1
- 0.4.9
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-remotes/pull/113/merge
- dev-feature/symfony-7
- dev-remotes/pull/114/merge
- dev-analysis-xgmrM9
- dev-remotes/pull/111/merge
- dev-feature/multi-tester-3
- dev-remotes/pull/108/merge
- dev-remotes/pull/109/merge
- dev-remotes/pull/110/merge
- dev-remotes/pull/107/merge
- dev-fix/strict-in-array
- dev-remotes/pull/104/merge
- dev-feature/abstract-token-handler
- dev-feature/duplication-threshold
- dev-remotes/pull/100/merge
- dev-remotes/pull/101/merge
- dev-remotes/pull/102/merge
- dev-remotes/pull/105/merge
- dev-remotes/pull/106/merge
- dev-remotes/pull/98/merge
- dev-remotes/pull/99/merge
- dev-simplify-split-script
- dev-multitest-php-8
- dev-feature/issue-69-interpolations-in-comments
- dev-feature/issue-70-disallow-new-line-in-interpolations
This package is auto-updated.
Last update: 2024-10-19 16:03:24 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.