PHPackages                             pug-php/pug-phalcon - 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. pug-php/pug-phalcon

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

pug-php/pug-phalcon
===================

HAML-like template engine for phalcon

1.2.0(6y ago)42.1kMITPHPPHP &gt;=5.3.0

Since Jun 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/pug-php/pug-phalcon)[ Packagist](https://packagist.org/packages/pug-php/pug-phalcon)[ Docs](https://github.com/kylekatarnls/jade-phalcon)[ RSS](/packages/pug-php-pug-phalcon/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

pug-phalcon
===========

[](#pug-phalcon)

Pug Template Engine for Phalcon

To use Pug with your Phalcon application, just add to composer.json, in the require section:

```
"pug-php/pug-phalcon": "^1.0"
```

Or use the command line:

```
composer require pug-php/pug-phalcon
```

Then register the template:

```
require '../vendor/autoload.php';

// ...
$di = new FactoryDefault();

// Setting up the view component
$di['view'] = function() {
    $view = new View();
    $view->setViewsDir('../app/views/');
    $view->registerEngines(array(
        ".pug" => function($view, $di) {
            return new \Phalcon\Mvc\View\Engine\Pug($view, $di, array(
                'cache' => '/tmp/myproject/pug',
                'prettyprint' => APP_ENV == 'development',
            ));
        }
    ));

    return $view;
};
```

Now you can add pug files in the views directory:

app/views/index.pug:

```
doctype html
html
  head
    title pug-phalcon
  body
    p Generetad with pug-phalcon
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 94.7% 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 ~314 days

Total

5

Last Release

2403d ago

### 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 (18 commits)")[![Stopi](https://avatars.githubusercontent.com/u/433878?v=4)](https://github.com/Stopi "Stopi (1 commits)")

---

Tags

adapterphalconphppugtemplateminificationphalconjadepug

### Embed Badge

![Health badge](/badges/pug-php-pug-phalcon/health.svg)

```
[![Health](https://phpackages.com/badges/pug-php-pug-phalcon/health.svg)](https://phpackages.com/packages/pug-php-pug-phalcon)
```

###  Alternatives

[pug-php/pug

HAML-like template engine for PHP

393392.8k58](/packages/pug-php-pug)[phug/phug

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

66301.0k14](/packages/phug-phug)[ci-pug/ci-pug

HAML-like template engine for CodeIgniter

211.8k](/packages/ci-pug-ci-pug)[talesoft/tale-pug

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

319.5k3](/packages/talesoft-tale-pug)

PHPackages © 2026

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