PHPackages                             jsutils/tmpl - 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. jsutils/tmpl

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

jsutils/tmpl
============

Javascript Templating engine taken from underscore

0.0.10(9y ago)09711MITJavaScript

Since Aug 4Pushed 9y ago3 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (12)Used By (1)

jsutils.tmpl
============

[](#jsutilstmpl)

\_if
----

[](#_if)

```

    It is 34

    it is 45

    I dont know

```

\_for
-----

[](#_for)

```

    for{{i}}

```

\_forEach
---------

[](#_foreach)

```

    {{key}}=={{value}}

    {{key}}=={{data[key]}}

```

\_tags
------

[](#_tags)

```

```

custom tags to be used in current template, can be configured by method `jsutils.tmpl.tags`

```
jsutils.tmpl.tags(function(tagName){
    if(tagName.indexOf("jq-")===0){
        module(tag.replace("jq-","jqtags."));
        return true;
    } else {
        return false;
    }
});
```

You can create your own directives

```
jsutils.tmpl.tags(function(tagName){
    if(tagName.indexOf("jq-")===0){
        module(tag.replace("jq-","jqtags."));
        return true;
    } else {
        return false;
    }
});
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 83.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 ~62 days

Recently: every ~48 days

Total

11

Last Release

3317d ago

### Community

Maintainers

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

---

Top Contributors

[![lnt](https://avatars.githubusercontent.com/u/5462166?v=4)](https://github.com/lnt "lnt (15 commits)")[![improm](https://avatars.githubusercontent.com/u/10056427?v=4)](https://github.com/improm "improm (3 commits)")

---

Tags

modulepolyfills

### Embed Badge

![Health badge](/badges/jsutils-tmpl/health.svg)

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

###  Alternatives

[zf-commons/zfc-twig

Zend Framework 2 Module that provides a Twig rendering strategy and extensions to render actions or trigger events from your templates

93576.6k7](/packages/zf-commons-zfc-twig)[kokspflanze/zfc-twig

Laminas/Zend Framework Module that provides a Twig rendering strategy and extensions to render actions or trigger events from your templates

15299.3k4](/packages/kokspflanze-zfc-twig)[oxcom/zend-twig

ZendTwig is a module that integrates the Twig template engine with Zend Framework 3.

19109.7k](/packages/oxcom-zend-twig)[luyadev/luya-bootstrap4

Bootstrap4 Assets and Helper classes like ActiveForm for LUYA and Yii2.

1843.9k3](/packages/luyadev-luya-bootstrap4)

PHPackages © 2026

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