PHPackages                             composedcreative/envvaluereplace - 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. composedcreative/envvaluereplace

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

composedcreative/envvaluereplace
================================

Adds the 'envValueReplace' twig filter to Craft CMS projects

0.1.0(10y ago)022GPL-3.0PHP

Since Jun 2Pushed 10y ago3 watchersCompare

[ Source](https://github.com/composedcreative/craft-envvaluereplace)[ Packagist](https://packagist.org/packages/composedcreative/envvaluereplace)[ RSS](/packages/composedcreative-envvaluereplace/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Environment Value Replacement Twig filter for Craft CMS
=======================================================

[](#environment-value-replacement-twig-filter-for-craft-cms)

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

[](#installation)

`composer require composed/envvaluereplace`

Example
-------

[](#example)

Add the following to either the general or per-environment `config/general.php` values

```
'envValueReplacements' => [
    'search for' => 'replace with'
]

```

Then use in your template code

```
{% set test = "this string contains the search for value" %}
{{ test|envValueReplace }}

```

This example will output `this string contains the replace with value`

Roadmap
-------

[](#roadmap)

- Improve documentation (eg chained replacement example)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/659e352f849f66f1e11660565c08f3b0922c6496adb851d2cdeadab89dafb17e?d=identicon)[mike27cubes](/maintainers/mike27cubes)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/composedcreative-envvaluereplace/health.svg)

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[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.

45344.0k1](/packages/pressbooks-pressbooks)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

206.7k](/packages/pressbooks-pressbooks-book)[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[nystudio107/minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

1062.0k](/packages/nystudio107-minify)[octfx/template-styles-extender

Extends TemplateStyles with new CSS properties

105.6k](/packages/octfx-template-styles-extender)

PHPackages © 2026

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