Skip to content

仓库 files navigation

Phug Compiler

What is Phug Compiler?

The Phug compiler get pug string or a pug file then return a PHP compiled template.

Installation

Install via Composer

composer require phug/compiler

Usage

$compiler = new Phug\Compiler($options);
$phtml = $compiler->compile($pugInput);

//$phtml is the PHP compiled template

关于

No description, website, or topics provided.

Resources

Contributing

Stars

4 stars

关注者

2 watching

复刻s

发布

Sponsor this project

Used by

贡献者

Languages