PHPackages                             clthck/cakephp-jade - 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. clthck/cakephp-jade

ActiveCakephp-plugin[Templating &amp; Views](/categories/templating)

clthck/cakephp-jade
===================

Jade Template Engine Plugin for CakePHP 3

v1.0.0(9y ago)09.3k[1 issues](https://github.com/clthck/cakephp-jade/issues)MITPHPPHP &gt;=5.5.30

Since Jan 4Pushed 9y ago3 watchersCompare

[ Source](https://github.com/clthck/cakephp-jade)[ Packagist](https://packagist.org/packages/clthck/cakephp-jade)[ RSS](/packages/clthck-cakephp-jade/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

[![Build Status](https://camo.githubusercontent.com/714fba476351c6ea38bdfff4b15cdc77a433f5a248f65ad64ff50770ad2094cf/68747470733a2f2f7472617669732d63692e6f72672f636c7468636b2f63616b657068702d6a6164652e737667)](https://travis-ci.org/clthck/cakephp-jade)[![Latest Stable Version](https://camo.githubusercontent.com/984a1baba9ce49b0a475dac9e628fe9ebc8898be3b31dfcefc3dca20d0e126ad/68747470733a2f2f706f7365722e707567782e6f72672f636c7468636b2f63616b657068702d6a6164652f762f737461626c65)](https://packagist.org/packages/clthck/cakephp-jade)[![Total Downloads](https://camo.githubusercontent.com/bb9b004de304f8d75bc2dc6e8044ffe4a63ea34f9e5ea2183e0fa79d56e7185d/68747470733a2f2f706f7365722e707567782e6f72672f636c7468636b2f63616b657068702d6a6164652f646f776e6c6f616473)](https://packagist.org/packages/clthck/cakephp-jade)[![License](https://camo.githubusercontent.com/a0acdc510ffab8f1b3f7f76475eb64366b422f6bead3513c726671de4c47ecf3/68747470733a2f2f706f7365722e707567782e6f72672f636c7468636b2f63616b657068702d6a6164652f6c6963656e7365)](https://packagist.org/packages/clthck/cakephp-jade)

Jade Template Engine Plugin for CakePHP 3
=========================================

[](#jade-template-engine-plugin-for-cakephp-3)

Powered by [Tale Jade for PHP](https://github.com/Talesoft/tale-jade).

Installation
------------

[](#installation)

1. Download [Composer](http://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
2. Run `php composer.phar require clthck/cakephp-jade`.

If Composer is installed globally, run

```
composer require clthck/cakephp-jade
```

Bootstrap
---------

[](#bootstrap)

Add the following to your `config/bootstrap.php` to load the plugin.

```
Plugin::load('JadeView');
```

Application Wide Usage
----------------------

[](#application-wide-usage)

Place the following to your `AppController.php` to load the JadeView class.

```
public function initialize()
{
    parent::initialize();

    $this->viewBuilder()
        ->className('JadeView.Jade')
        ->options(['pretty' => false]);
}
```

What if we need to load additional helpers for our JadeView instance? In this case, we can make AppView class inherit JadeView class:

```
...
use JadeView\View\JadeView;
...
class AppView extends JadeView
{
	...
	public function initialize()
	{
	    $this->viewOptions([
	        'pretty' => true
	    ]);

	    parent::initialize();

	    $this->loadHelper('Form', [
	        'templates' => 'form_template'
	    ]);
	}
}
```

In Template File (.ctp.jade)
----------------------------

[](#in-template-file-ctpjade)

Use `$view` instead of `$this`.

```
= $view->Flash->render()
```

Usage Example of CakePHP javascript block
-----------------------------------------

[](#usage-example-of-cakephp-javascript-block)

```
- $view->Html->scriptStart(['block' => true])
|
	$(function() {
		// Your js code goes here..
	});

- $view->Html->scriptEnd()

```

If you're using Sublime Text 2/3, you need to install [cakephp-jade-tmbundle](http://github.com/clthck/cakephp-jade-tmbundle/tree/master) to make syntax highlighting work properly.

Language Syntax Reference
-------------------------

[](#language-syntax-reference)

Please check [jade.talesoft.io](http://jade.talesoft.io/) for syntax reference.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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 ~41 days

Recently: every ~100 days

Total

11

Last Release

3362d ago

Major Versions

v0.1.4 → v1.0.02017-02-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/7220c1052cb63189d5bfc1d8a99017c03378faf3538cb9e3683f3dd0ff72efcf?d=identicon)[aavrug](/maintainers/aavrug)

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

---

Top Contributors

[![fantastic16](https://avatars.githubusercontent.com/u/22222825?v=4)](https://github.com/fantastic16 "fantastic16 (21 commits)")[![aavrug](https://avatars.githubusercontent.com/u/1022358?v=4)](https://github.com/aavrug "aavrug (2 commits)")

---

Tags

cakephpcakephp-pluginjadetale-jadecakephpviewcakephp3pug

### Embed Badge

![Health badge](/badges/clthck-cakephp-jade/health.svg)

```
[![Health](https://phpackages.com/badges/clthck-cakephp-jade/health.svg)](https://phpackages.com/packages/clthck-cakephp-jade)
```

###  Alternatives

[friendsofcake/cakephp-csvview

A CSV View class for CakePHP

1762.5M3](/packages/friendsofcake-cakephp-csvview)[wyrihaximus/twig-view

Twig powered View for CakePHP

804.7M1](/packages/wyrihaximus-twig-view)[dereuromark/cakephp-ajax

A CakePHP plugin that makes working with AJAX a piece of cake.

55255.9k1](/packages/dereuromark-cakephp-ajax)[dereuromark/cakephp-feed

A CakePHP plugin containing a RssView to generate RSS feeds.

1353.7k1](/packages/dereuromark-cakephp-feed)[dereuromark/cakephp-meta

A CakePHP plugin for SEO meta tags, OpenGraph and Twitter Cards

1012.9k1](/packages/dereuromark-cakephp-meta)

PHPackages © 2026

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