PHPackages                             heimrichhannot/contao-replace-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. heimrichhannot/contao-replace-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

heimrichhannot/contao-replace-bundle
====================================

Helper contao bundle to perform a regular expression search and replace on front end page.

1.3.0(2y ago)21.3k[1 issues](https://github.com/heimrichhannot/contao-replace-bundle/issues)LGPL-3.0-or-laterPHPPHP ^7.4 || ^8.0CI failing

Since Apr 10Pushed 2y ago4 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-replace-bundle)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-replace-bundle)[ RSS](/packages/heimrichhannot-contao-replace-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (11)Versions (9)Used By (0)

Contao Replace Bundle
=====================

[](#contao-replace-bundle)

[![](https://camo.githubusercontent.com/a0999bd4b73cb7ff588db69364acc2f96aa0169e7a56b41e2cab8fb0bdd92c26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652e737667)](https://camo.githubusercontent.com/a0999bd4b73cb7ff588db69364acc2f96aa0169e7a56b41e2cab8fb0bdd92c26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652e737667)[![](https://camo.githubusercontent.com/56b8a2aa370b3d07347709887bca9ee5a5a5853498335c2528aae6b5814b1a5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652e737667)](https://camo.githubusercontent.com/56b8a2aa370b3d07347709887bca9ee5a5a5853498335c2528aae6b5814b1a5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652e737667)[![](https://camo.githubusercontent.com/44a5605f41b3af346ae5bfb816b45edb85420eef26aef3f89a3b6c765dd11f7c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652f6d61737465722e737667)](https://travis-ci.org/heimrichhannot/contao-replace-bundle/)[![](https://camo.githubusercontent.com/7d1880e87a5c979340b2d59f0e6cbb28540a77214f1574202ba571e0a2f4a75e/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6865696d7269636868616e6e6f742f636f6e74616f2d7265706c6163652d62756e646c652f6d61737465722e737667)](https://coveralls.io/github/heimrichhannot/contao-replace-bundle)

Helper contao bundle to perform a regular expression search and replace on front end page.

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

[](#configuration)

Currently it is only possible to search and replace globally. Open your contao settings and configure custom search and replace patterns.

[![Contao settings](src/Resources/doc/replace-settings.png)](src/Resources/doc/replace-settings.png)

Examples
--------

[](#examples)

### Wrap headline text in ``

[](#wrap-headline-text-in-span)

Before: `Test A`After: `Test A`

- Pattern: `(]*>)(.*)(]*>)`
- Replacement: `$1$2$3`

### Bootstrap 4 responsive tables

[](#bootstrap-4-responsive-tables)

Before: `Value1`After: `Value1`

- Pattern: `()(.*)()`
- Replacement: `$2`

### Replace files path inside links

[](#replace-files-path-inside-links)

Before: `Test link`After: `Test link`

- Pattern: `(tl_files\/subfolder\/files\/)`
- Replacement: `$2`
- Replace tags: true (checked)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~311 days

Recently: every ~462 days

Total

8

Last Release

781d ago

PHP version history (3 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.1 || ^8.0

1.3.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (7 commits)")[![ericges](https://avatars.githubusercontent.com/u/25957923?v=4)](https://github.com/ericges "ericges (6 commits)")

---

Tags

contaoreplacecontent-manipulation

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-replace-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/heimrichhannot-contao-replace-bundle/health.svg)](https://phpackages.com/packages/heimrichhannot-contao-replace-bundle)
```

###  Alternatives

[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[madeyourday/contao-rocksolid-custom-elements

Create your own, nestable content elements using a modular system. End the WYSIWYG chaos with your own content elements.

50341.9k12](/packages/madeyourday-contao-rocksolid-custom-elements)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[mvo/contao-group-widget

Adds a new group widget that allows repeating a set of DCA fields.

28124.3k31](/packages/mvo-contao-group-widget)[inspiredminds/contao-wowjs

Integrates WOW.js for Contao content elements and form fields.

1813.0k](/packages/inspiredminds-contao-wowjs)

PHPackages © 2026

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