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 2w ago

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 13% 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

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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