PHPackages                             dxw/iguana-theme - 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. dxw/iguana-theme

ActiveLibrary

dxw/iguana-theme
================

v1.1.0(2y ago)190.0k↓36.1%1[2 issues](https://github.com/dxw/iguana-theme/issues)[2 PRs](https://github.com/dxw/iguana-theme/pulls)1MITPHPPHP ^7.4||^8.1CI passing

Since May 23Pushed 2mo ago14 watchersCompare

[ Source](https://github.com/dxw/iguana-theme)[ Packagist](https://packagist.org/packages/dxw/iguana-theme)[ Docs](https://github.com/dxw/iguana-theme)[ RSS](/packages/dxw-iguana-theme/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (5)Used By (1)

iguana-theme
============

[](#iguana-theme)

Helper functions and template layouts for [iguana](https://github.com/dxw/iguana)-based themes.

`\Dxw\Iguana\Theme\Helpers`
---------------------------

[](#dxwiguanathemehelpers)

Helper functions.

### Installation

[](#installation)

Add the following to `app/di.php`:

```
$registrar->addInstance(new \Dxw\Iguana\Theme\Helpers());

```

### Usage

[](#usage)

Your classes can declare helper functions:

```

```

Using `h()` means that you only need to pollute the global namespace with one function. And `h()` is a lot shorter than typing out the full namespace.

All you need to do is pass the `Helpers` instance to your class during instantiation. Example:

```
$registrar->addInstance(new \Dxw\MyTheme\MyClass(
    $registrar->getInstance(\Dxw\Iguana\Theme\Helpers::class)
));

```

`\Dxw\Iguana\Theme\Layout` and `\Dxw\Iguana\Theme\LayoutRegister`
-----------------------------------------------------------------

[](#dxwiguanathemelayout-and-dxwiguanathemelayoutregister)

Layout templates.

### Installation

[](#installation-1)

Add the following to `app/di.php`:

```
$registrar->addInstance(new \Dxw\Iguana\Theme\Helpers());
$registrar->addInstance(new \Dxw\Iguana\Theme\LayoutRegister(
    $registrar->getInstance(\Dxw\Iguana\Theme\Helpers::class)
));

```

### Usage

[](#usage-1)

Add something like this to `layouts/main.php` (within your theme directory):

```

    ...

```

And remove the calls to `get_header()`/`get_footer()` from all your templates.

Licence
-------

[](#licence)

[MIT](COPYING.md)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~2638 days

Total

2

Last Release

1008d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/370665?v=4)[Rob Skilling](/maintainers/RobjS)[@RobjS](https://github.com/RobjS)

![](https://avatars.githubusercontent.com/u/1659723?v=4)[jkeasley](/maintainers/jkeasley)[@jkeasley](https://github.com/jkeasley)

![](https://avatars.githubusercontent.com/u/4721596?v=4)[Matthew Passmore](/maintainers/matpassmore)[@matpassmore](https://github.com/matpassmore)

![](https://avatars.githubusercontent.com/u/71827088?v=4)[Serena Piccioni](/maintainers/serena-piccioni)[@serena-piccioni](https://github.com/serena-piccioni)

---

Top Contributors

[![mallorydxw](https://avatars.githubusercontent.com/u/2256130?v=4)](https://github.com/mallorydxw "mallorydxw (32 commits)")[![RobjS](https://avatars.githubusercontent.com/u/370665?v=4)](https://github.com/RobjS "RobjS (10 commits)")[![snim2](https://avatars.githubusercontent.com/u/97674?v=4)](https://github.com/snim2 "snim2 (5 commits)")[![robbiepaul](https://avatars.githubusercontent.com/u/2804149?v=4)](https://github.com/robbiepaul "robbiepaul (1 commits)")

---

Tags

composergovpresspackagistphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dxw-iguana-theme/health.svg)

```
[![Health](https://phpackages.com/badges/dxw-iguana-theme/health.svg)](https://phpackages.com/packages/dxw-iguana-theme)
```

PHPackages © 2026

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