PHPackages                             ronan-gloo/jadephp - 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. ronan-gloo/jadephp

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

ronan-gloo/jadephp
==================

HAML-like template engine for PHP 5.3

2618518[8 issues](https://github.com/ronan-gloo/jade-php/issues)[1 PRs](https://github.com/ronan-gloo/jade-php/pulls)CSS

Since Oct 20Pushed 6y ago4 watchersCompare

[ Source](https://github.com/ronan-gloo/jade-php)[ Packagist](https://packagist.org/packages/ronan-gloo/jadephp)[ RSS](/packages/ronan-gloo-jadephp/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Jade.php
========

[](#jadephp)

Jade.php adds inline PHP scripting support to the [Jade](http://jade-lang.com) template compiler.

##### [The Jade Syntax Reference](https://github.com/visionmedia/jade#readme)

[](#the-jade-syntax-reference)

Implementation details
----------------------

[](#implementation-details)

The fork is a complete rewrite, all the code is ported from the original jade project.

All the features from the original are supported but undertested, including inheritance and mixins.

What's new ?
------------

[](#whats-new-)

#### Jade options

[](#jade-options)

Jade options should be passed to the Jade construction

```
$jade = new Jade([
	'prettyprint' => true,
	'extension' => '.jade'
	'cache' => 'pathto/writable/cachefolder/'
]);

```

#### Supports for local variables

[](#supports-for-local-variables)

```
$data['title'] = 'Hello World';
$output = (new Jade())->render('file', $data);

```

#### Supports for custom filters

[](#supports-for-custom-filters)

Filters must be callable: It can be a class that implements the \_\_invoke() method, or an anonymous function.

```
$jade->filter('escaped', 'My\Callable\Class');

// or

$jade->filter('escaped', function($node, $compiler){
	foreach ($node->block->nodes as $line) {
		$output[] = $compiler->interpolate($line->value);
	}
	return htmlentities(implode("\n", $output));
});

```

**Built-in filters**:

- :css
- :php
- :javascript
- :escaped
- :cdata

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd14d27d458178e9515cf9a58b14bbe0b78f7c2113806aa97b3e16c94fe0a2e4?d=identicon)[ronan-gloo](/maintainers/ronan-gloo)

---

Top Contributors

[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (75 commits)")[![sisoftrg](https://avatars.githubusercontent.com/u/492146?v=4)](https://github.com/sisoftrg "sisoftrg (20 commits)")[![hackaugusto](https://avatars.githubusercontent.com/u/310139?v=4)](https://github.com/hackaugusto "hackaugusto (14 commits)")[![peniar](https://avatars.githubusercontent.com/u/36135402?v=4)](https://github.com/peniar "peniar (12 commits)")[![lukegb](https://avatars.githubusercontent.com/u/246745?v=4)](https://github.com/lukegb "lukegb (6 commits)")[![DJRanger](https://avatars.githubusercontent.com/u/212247?v=4)](https://github.com/DJRanger "DJRanger (5 commits)")[![fcrosfly](https://avatars.githubusercontent.com/u/1575457?v=4)](https://github.com/fcrosfly "fcrosfly (5 commits)")[![sadjow](https://avatars.githubusercontent.com/u/177525?v=4)](https://github.com/sadjow "sadjow (1 commits)")[![hkjels](https://avatars.githubusercontent.com/u/339547?v=4)](https://github.com/hkjels "hkjels (1 commits)")[![sszigeti](https://avatars.githubusercontent.com/u/2530086?v=4)](https://github.com/sszigeti "sszigeti (1 commits)")

### Embed Badge

![Health badge](/badges/ronan-gloo-jadephp/health.svg)

```
[![Health](https://phpackages.com/badges/ronan-gloo-jadephp/health.svg)](https://phpackages.com/packages/ronan-gloo-jadephp)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3841.2M](/packages/limenius-react-bundle)[pdewit/nova-external-url

An external URL Laravel Nova field.

30383.2k](/packages/pdewit-nova-external-url)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)

PHPackages © 2026

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