PHPackages                             emandiev/regex-replace-twig-filter - 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. emandiev/regex-replace-twig-filter

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

emandiev/regex-replace-twig-filter
==================================

Adds PHP's preg\_replace function as a Twig filter.

2.0.0(1y ago)03.9kMIT

Since Jan 24Compare

[ Source](https://github.com/emandiev/regex-replace-twig-filter)[ Packagist](https://packagist.org/packages/emandiev/regex-replace-twig-filter)[ RSS](/packages/emandiev-regex-replace-twig-filter/feed)WikiDiscussions Synced today

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/emandiev/regex-replace-twig-filter).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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 ~1599 days

Total

2

Last Release

698d ago

Major Versions

1.0.1 → 2.0.02024-06-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b52b16b0d8dccc46a393577a2dd45fe0089bf16a243de2669c9b69ad126eaf7?d=identicon)[emandiev](/maintainers/emandiev)

---

Tags

cmsCraftcraftcmscraft-pluginregex replace twig filter

### Embed Badge

![Health badge](/badges/emandiev-regex-replace-twig-filter/health.svg)

```
[![Health](https://phpackages.com/badges/emandiev-regex-replace-twig-filter/health.svg)](https://phpackages.com/packages/emandiev-regex-replace-twig-filter)
```

###  Alternatives

[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.0k](/packages/lewisjenkins-craft-dynamic-fields)[nystudio107/craft-minify

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

37461.2k28](/packages/nystudio107-craft-minify)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)[craftpulse/craft-colour-swatches

Let clients choose from a predefined set of colours and utilise associated colour codes and class names in your templates.

3530.8k2](/packages/craftpulse-craft-colour-swatches)[superbig/craft-mjml

Render Twig emails with MJML, the only framework that makes responsive email easy.

2627.3k1](/packages/superbig-craft-mjml)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)

PHPackages © 2026

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