PHPackages                             arcadis-intelligence/gomphplate - 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. arcadis-intelligence/gomphplate

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

arcadis-intelligence/gomphplate
===============================

A wrapper for the yaml templating engine gomplate

0.2.1(1y ago)586[2 PRs](https://github.com/Arcadis-Intelligence/gomphplate/pulls)Apache-2.0PHPPHP ^8.1CI passing

Since Feb 19Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Arcadis-Intelligence/gomphplate)[ Packagist](https://packagist.org/packages/arcadis-intelligence/gomphplate)[ Docs](https://github.com/arcadis-intelligence/gomphplate)[ RSS](/packages/arcadis-intelligence-gomphplate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (8)Used By (0)

GomPHPlate
==========

[](#gomphplate)

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Gomplate

Configuration
-------------

[](#configuration)

You can specify the path to the gomplate binary by setting the `GOMPLATE_PATH` environment variable.

Installation
------------

[](#installation)

```
composer require arcadis-intelligence/gomphplate
```

Usage
-----

[](#usage)

```
use ArcadisIntelligence\Gomphplate\Gomphplate;

$template =  [
        ['name' => 'Alice', 'age' => 30],
        ['name' => 'Bob', 'age' => 25],
    ],
];

$renderedYaml = Gomphplate::renderYaml($template, $data);
```

Should produce

```
people:
  - name: Alice
    age: 30
  - name: Bob
    age: 25
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance61

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.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 ~3 days

Total

5

Last Release

433d ago

PHP version history (2 changes)0.1.0PHP ^8.0

0.2.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9222c16e956533fd43d4696928df4d6a8735c87fafe68919b4de9b5e28f8183b?d=identicon)[alextweneymackenzie-ibi](/maintainers/alextweneymackenzie-ibi)

---

Top Contributors

[![atweneymackenzie](https://avatars.githubusercontent.com/u/108013585?v=4)](https://github.com/atweneymackenzie "atweneymackenzie (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

yamltemplatinggomplate

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arcadis-intelligence-gomphplate/health.svg)

```
[![Health](https://phpackages.com/badges/arcadis-intelligence-gomphplate/health.svg)](https://phpackages.com/packages/arcadis-intelligence-gomphplate)
```

###  Alternatives

[twig/twig

Twig, the flexible, fast, and secure template language for PHP

8.4k443.2M5.8k](/packages/twig-twig)[mustache/mustache

A Mustache implementation in PHP.

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

Smarty - the compiling PHP template engine

2.3k39.1M395](/packages/smarty-smarty)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[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)

PHPackages © 2026

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