PHPackages                             maxserv/replacecontent - 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. maxserv/replacecontent

AbandonedTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

maxserv/replacecontent
======================

Search and replace strings after page generation using regular expressions.

2.0.5(9y ago)23.6k2GPL-2.0+PHP

Since Mar 14Pushed 9y ago5 watchersCompare

[ Source](https://github.com/MaxServ/t3ext-replacecontent)[ Packagist](https://packagist.org/packages/maxserv/replacecontent)[ Docs](https://github.com/MaxServ/t3ext-replacecontent)[ RSS](/packages/maxserv-replacecontent/feed)WikiDiscussions master Synced 2d ago

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

TYPO3 extension: replacecontent
===============================

[](#typo3-extension-replacecontent)

[![Build Status](https://camo.githubusercontent.com/b5e3071e4d31b95f9119a651714d556b1365a89bfc94d6427f11d2fa23336454/68747470733a2f2f7472617669732d63692e6f72672f4d6178536572762f74336578742d7265706c616365636f6e74656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MaxServ/t3ext-replacecontent)

**Search and replace strings after page generation using regular expressions**

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

[](#installation)

Install it using Composer:

```
composer config repositories.replacecontent vcs https://github.com/MaxServ/t3ext-replacecontent.git
composer require maxserv/replacecontent
```

Or clone it

```
git clone https://github.com/MaxServ/t3ext-replacecontent.git replacecontent
```

More information on [usage](Documentation/Introduction/Index.rst "Usage") and [administration](Documentation/Administration/Index.rst "Administration") can be found in the [documentation folder](Documentation/Index.rst "Documentation folder").

Example
-------

[](#example)

You must set the Search and Replace patterns via TypoScript.

TypoScript setup usage:

```
config.tx_replacecontent {
  search {
    1 = #(src|href)=("|')(/?)(typo3temp|fileadmin|uploads)/#
    2 = /lala/
  }

  replace {
    1 = $1=$2{$config.tx_replacecontent.schema}{$config.tx_replacecontent.host}/$4/
    2 = Smörgåsbord
  }
}

```

License &amp; Disclaimer
------------------------

[](#license--disclaimer)

Copyright 2016 Michiel Roos - MaxServ B.V.

This Source Code Form is subject to the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. If a copy of the GPL was not distributed with this file, You can obtain one at

BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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 ~152 days

Total

4

Last Release

3304d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/790979?v=4)[Michiel Roos](/maintainers/Tuurlijk)[@Tuurlijk](https://github.com/Tuurlijk)

---

Top Contributors

[![mkempe](https://avatars.githubusercontent.com/u/74870?v=4)](https://github.com/mkempe "mkempe (14 commits)")[![Tuurlijk](https://avatars.githubusercontent.com/u/790979?v=4)](https://github.com/Tuurlijk "Tuurlijk (5 commits)")[![patrickbroens](https://avatars.githubusercontent.com/u/289623?v=4)](https://github.com/patrickbroens "patrickbroens (3 commits)")

---

Tags

contenttypo3replace

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maxserv-replacecontent/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k45](/packages/friendsoftypo3-content-blocks)[typo3/cms-styleguide

TYPO3 extension to showcase TYPO3 Backend capabilities

106760.3k28](/packages/typo3-cms-styleguide)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[jweiland/events2

Events 2 - Create single and recurring events

2165.2k3](/packages/jweiland-events2)[in2code/lux

Living User eXperience - LUX - the Marketing Automation tool for TYPO3.

2156.6k1](/packages/in2code-lux)[wapplersystems/ws-scss

Compiles SCSS to CSS at runtime with caching, TypoScript variables and EXT: import support

11144.8k7](/packages/wapplersystems-ws-scss)

PHPackages © 2026

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