PHPackages                             phptransformers/dwoo - 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. phptransformers/dwoo

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

phptransformers/dwoo
====================

Dwoo implementation of PhpTransformer

1.0.0(8y ago)050MITPHP

Since Oct 1Pushed 8y ago2 watchersCompare

[ Source](https://github.com/phptransformers/dwoo)[ Packagist](https://packagist.org/packages/phptransformers/dwoo)[ RSS](/packages/phptransformers-dwoo/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Dwoo for PHPTransformers
========================

[](#dwoo-for-phptransformers)

[Dwoo](http://dwoo.org/) support for [PHPTransformers](http://github.com/phptransformers/phptransformer).

Install
-------

[](#install)

Via Composer

```
$ composer require phptransformers/dwoo
```

Usage
-----

[](#usage)

```
$engine = new DwooTransformer();
echo $engine->render('Hello, {$name}!', array('name' => 'phptransformers'));
```

### Options

[](#options)

```
$engine = new DwooTransformer(array(
    'cache-dir' => 'path/to/the/cache', // Default to the system temporary directory
    'compile-dir' => 'path/to/the/compile/dir', // Default to the system temporary directory
    'template-dir' => 'path/to/the/templates' // By default search for absolute path
));

// ...

$core = new \Dwoo\Core();
$engine = new DwooTransformer(array(
    'dwoo' => $core // All others options are ignored
));
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3147d ago

### Community

Maintainers

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

---

Top Contributors

[![MacFJA](https://avatars.githubusercontent.com/u/1475671?v=4)](https://github.com/MacFJA "MacFJA (3 commits)")

---

Tags

templatestemplate enginephptransformersphptransformerdwoo

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/phptransformers-dwoo/health.svg)

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

###  Alternatives

[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k5.9M232](/packages/league-plates)[foil/foil

PHP template engine for native PHP templates

170111.2k7](/packages/foil-foil)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7526.3M230](/packages/laminas-laminas-view)[infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

2681.6M7](/packages/infyomlabs-adminlte-templates)

PHPackages © 2026

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