PHPackages                             zizther/replace-variable - 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. zizther/replace-variable

Abandoned → [zizther/craft-dynamic-variables](/?search=zizther%2Fcraft-dynamic-variables)ArchivedCraft-plugin

zizther/replace-variable
========================

Replace general or config variables, and global fields

1.0.1(5y ago)03MITPHP

Since May 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zizther/craft-replace-variable)[ Packagist](https://packagist.org/packages/zizther/replace-variable)[ RSS](/packages/zizther-replace-variable/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (0)

Replace Variable plugin for Craft CMS 3.x
=========================================

[](#replace-variable-plugin-for-craft-cms-3x)

This plugin has been replaced with a cleaner more powerful plugin [Craft Dynamic Variables](https://github.com/zizther/craft-dynamic-variables)

Replace general or config variables, and global fields

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

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require zizther/replace-variable

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Replace Variable.

Replace Variable Overview
-------------------------

[](#replace-variable-overview)

Can match general or config variables, and global fields For example:

- {siteName}
- {config.general.custom.variableName}
- {config.customConfigFile.variableName}
- {globalHandle.fieldHandle}

Using Replace Variable
----------------------

[](#using-replace-variable)

Filter `{{ 'something goes here {globalHandle.fieldHandle}' | rv }}`

Function `{% set this = rv('something goes here {globalHandle.fieldHandle}') %}`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~127 days

Total

2

Last Release

2069d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b2281e849491cfa21b4eab76c62308066129d001aa7bf23bba983baf3de5327?d=identicon)[zizther](/maintainers/zizther)

---

Top Contributors

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

---

Tags

cmsCraftcraftcmscraft-pluginreplace variable

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/zizther-replace-variable/health.svg)

```
[![Health](https://phpackages.com/badges/zizther-replace-variable/health.svg)](https://phpackages.com/packages/zizther-replace-variable)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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