PHPackages                             mammatus/terraform-events - 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. mammatus/terraform-events

ActiveLibrary

mammatus/terraform-events
=========================

🏗️📣 Terraform related Events

0282↑2623.4%MakefileCI failing

Since Jul 28Pushed todayCompare

[ Source](https://github.com/MammatusPHP/terraform-events)[ Packagist](https://packagist.org/packages/mammatus/terraform-events)[ RSS](/packages/mammatus-terraform-events/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Terraform related Events
========================

[](#terraform-related-events)

[![Continuous Integration](https://github.com/MammatusPHP/terraform-events/workflows/Continuous%20Integration/badge.svg)](https://github.com/MammatusPHP/terraform-events/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/29755f235b89afe31bd58cd9943b1b6278403b2bbeeb78c1f2d6d76c6701cdc7/68747470733a2f2f706f7365722e707567782e6f72672f6d616d6d617475732f7465727261666f726d2d6576656e74732f762f737461626c652e706e67)](https://packagist.org/packages/mammatus/terraform-events)[![Total Downloads](https://camo.githubusercontent.com/779ff1a996ebe3b1b3bb1c144e8e38f0576c4455656a97486a41da4ec1dfdca5/68747470733a2f2f706f7365722e707567782e6f72672f6d616d6d617475732f7465727261666f726d2d6576656e74732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mammatus/terraform-events/stats)[![License](https://camo.githubusercontent.com/22b2da7e1e3f4df6fe8b21d07ab4e78d78d1786faa4e2dd8367fd20f53f0767a/68747470733a2f2f706f7365722e707567782e6f72672f6d616d6d617475732f7465727261666f726d2d6576656e74732f6c6963656e73652e706e67)](https://packagist.org/packages/mammatus/terraform-events)

Install
=======

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require mammatus/terraform-events

```

Events
======

[](#events)

This package provides the following events:

Variables
---------

[](#variables)

This event is emitted when Terraform tfvars are being collected from a Mammatus application. Register listeners on `Variables::class` and use `add` to register entries that will be returned through `get` and encoded as HCL tfvars by [`mammatus/terraform`](https://github.com/MammatusPHP/terraform).

```
use Mammatus\Terraform\Events\Variables;
use Mammatus\Terraform\Events\Variables\Registry\Entry;

Variables::class => [
    static function (Variables $variables): void {
        $variables->add(new Entry('app_name', 'mammatus-demo'));
        $variables->add(new Entry('replicas', 3));
    },
],
```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2026 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance65

Regular maintenance activity

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mammatus-terraform-events/health.svg)

```
[![Health](https://phpackages.com/badges/mammatus-terraform-events/health.svg)](https://phpackages.com/packages/mammatus-terraform-events)
```

PHPackages © 2026

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