PHPackages                             phug/facade - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. phug/facade

ActiveLibrary[Templating &amp; Views](/categories/templating)

phug/facade
===========

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

2.0.1(2mo ago)15MITPHPPHP &gt;=5.5.0

Since Nov 26Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/phug-php/facade)[ Packagist](https://packagist.org/packages/phug/facade)[ Docs](http://phug-lang.com)[ GitHub Sponsors](https://github.com/kylekatarnls)[ Fund](https://opencollective.com/pug-php)[ RSS](/packages/phug-facade/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (6)Versions (51)Used By (0)

Phug
====

[](#phug)

[![Latest Stable Version](https://camo.githubusercontent.com/8d01213a868907beb86fb6dbb19d1c727593455222527c951e73546317a37d06/68747470733a2f2f706f7365722e707567782e6f72672f706875672f6661636164652f762f737461626c652e706e67)](https://packagist.org/packages/phug/facade)[![Build Status](https://camo.githubusercontent.com/03a60a87f1b801b662e0b7d363c570c7c88fb0b55ec18add0b42b81b273431c3/68747470733a2f2f7472617669732d63692e6f72672f706875672d7068702f6661636164652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phug-php/facade)[![Test Coverage](https://camo.githubusercontent.com/1c24e78f1d1564c382bd59bc154b6c7e17dbe0315226a6cbc62873939892ef0a/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f706875672d7068702f6661636164652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/phug-php/facade/coverage)

[![Code Climate](https://camo.githubusercontent.com/b99a859234a6c5b1557f8d45f641800a80974a7819f7a5b7142121b3e042d575/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f706875672d7068702f6661636164652f6261646765732f6770612e737667)](https://codeclimate.com/github/phug-php/facade)[![Issue Count](https://camo.githubusercontent.com/1fd158a90676cef4d00ff1d3ad0ab7e2c17f06734439d8a4cddd0e39a896af20/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f706875672d7068702f6661636164652f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/phug-php/facade)[![StyleCI](https://camo.githubusercontent.com/e58e60c03c3ab00d74ae79e66941d532a552965bacc9f427e1e5f4ad1367610c/68747470733a2f2f7374796c6563692e696f2f7265706f732f3230363538313132342f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/206581124)

[Detailed status](https://gist.github.com/kylekatarnls/8720155b06b016f8128ff511b8695532)

What is Phug?
-------------

[](#what-is-phug)

Phug is the PugJS Template Engine for PHP.

Not just a port. It's written from scratch as a native PHP template engine.

Documentation
-------------

[](#documentation)

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance88

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 97.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~115 days

Recently: every ~235 days

Total

21

Last Release

61d ago

Major Versions

1.13.0 → 2.0.02025-03-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/df90c422f521bf26355c3e185a59fe7afb35531af56244dfaec03ee1d0ca6f24?d=identicon)[kylekatarn](/maintainers/kylekatarn)

---

Top Contributors

[![kylekatarnls](https://avatars.githubusercontent.com/u/5966783?v=4)](https://github.com/kylekatarnls "kylekatarnls (105 commits)")[![TorbenKoehn](https://avatars.githubusercontent.com/u/1403556?v=4)](https://github.com/TorbenKoehn "TorbenKoehn (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (1 commits)")

---

Tags

phphtmltemplatecompilerjadeviewsrenderpugphtmlpresentationdialectphug

### Embed Badge

![Health badge](/badges/phug-facade/health.svg)

```
[![Health](https://phpackages.com/badges/phug-facade/health.svg)](https://phpackages.com/packages/phug-facade)
```

###  Alternatives

[phug/phug

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

67292.2k13](/packages/phug-phug)[talesoft/tale-pug

A clean, lightweight and easy-to-use templating engine for PHP based on Pug, formerly Jade

319.4k3](/packages/talesoft-tale-pug)[talesoft/tale-jade

A clean, lightweight and easy-to-use templating engine for PHP based on Jade/Pug

8919.3k5](/packages/talesoft-tale-jade)[figdice/figdice

Template Engine, XML-centric and attribute-driven

222.4k1](/packages/figdice-figdice)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
