PHPackages                             albertofem/wiser - 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. albertofem/wiser

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

albertofem/wiser
================

Enhanced PHP template engine

19PHP

Since Jul 24Pushed 12y agoCompare

[ Source](https://github.com/albertofem/wiser)[ Packagist](https://packagist.org/packages/albertofem/wiser)[ RSS](/packages/albertofem-wiser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Wiser
=====

[](#wiser)

[![Build Status](https://camo.githubusercontent.com/3cc7bc924a4a03e3b3b49122015f62b0e79c814b0a19964a87b54276cab50ac9/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f616c626572746f66656d2f77697365722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/albertofem/wiser)

Wiser is **not** a template engine. It aims to provide enhanced features for the PHP template engine. It's highly inspired in [Savant3](http://phpsavant.com).

Usage
-----

[](#usage)

Basic usage example:

```
use Wiser\Wiser;

$config = array('template_path' => __DIR__ . '/views/);

$wiser = new Wiser($config);
$wiser->render('template.html.php', array('myVar' => 'test'));

```

In your template:

If you're using **PHP &gt;= 5.4.**\*

```

```

If you're using **PHP &lt;= 5.3.**\*

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/efe376b93750f4413814c8f96aa1a26d312e981ae58d5356414de7bf93df0005?d=identicon)[albertofem](/maintainers/albertofem)

---

Top Contributors

[![albertofem](https://avatars.githubusercontent.com/u/409472?v=4)](https://github.com/albertofem "albertofem (14 commits)")

### Embed Badge

![Health badge](/badges/albertofem-wiser/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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