PHPackages                             gcommeuneidee/wp-cli-replacetext - 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. gcommeuneidee/wp-cli-replacetext

ActiveLibrary

gcommeuneidee/wp-cli-replacetext
================================

Simple Library Which Provides Option To Replace Text

0119[1 PRs](https://github.com/louisgcom/wp-cli-replacetext/pulls)PHP

Since Jun 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/louisgcom/wp-cli-replacetext)[ Packagist](https://packagist.org/packages/gcommeuneidee/wp-cli-replacetext)[ RSS](/packages/gcommeuneidee-wp-cli-replacetext/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

WP Cli
======

[](#wp-cli)

This CLI Package Provides WP Developers To Replace Text Easily

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

[](#installation)

The preferred way to install this extension is through [Composer](http://getcomposer.org/download/).

To install **WP-Cli library**, simply:

```
$ composer require gcommeuneidee/wp-cli-replacetext

```

Replace Text Usage
------------------

[](#replace-text-usage)

### Replace text for all files inside a folder

[](#replace-text-for-all-files-inside-a-folder)

```
$ ./vendor/bin/replacetext.bat -i text-to-search text-to-replace your-folder-path

```

### Update text for a file

[](#update-text-for-a-file)

```
$ ./vendor/bin/replacetext.bat -i text-to-search text-to-replace ./your-path/your-file.php

```

CLI Arguments
-------------

[](#cli-arguments)

ArgumentDescription`-i`if provided then changes will be saved in the same file where its updated if not it will provide the file output---

📝 Changelog
-----------

[](#-changelog)

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[Checkout CHANGELOG.md](https://github.com/gcommeuneidee/wp-cli-replacetext/blob/main/CHANGELOG.md)

🤝 Contributing
--------------

[](#-contributing)

If you would like to help, please take a look at the list of [issues](https://github.com/gcommeuneidee/wp-cli-replacetext/issues/).

📜 License &amp; Conduct
-----------------------

[](#--license--conduct)

- [**GNU General Public License v3.0**](https://github.com/gcommeuneidee/wp-cli-replacetext/blob/main/LICENSE) © [G Comme Une Idée](https://www.gcommeuneidee.com)

📣 Feedback
----------

[](#-feedback)

- ⭐ This repository if this project helped you! 😉
- Create An [🔧 Issue](https://github.com/gcommeuneidee/wp-cli-replacetext/issues/) if you need help / found a bug

---

*Built With ♥ By [Louis Vedel](https://twitter.com/relisiuol) from [![](https://camo.githubusercontent.com/e691cea9486fa5845f35e3813b8b61b7f0c4ba62cf393eb7f8c9093a440ee810/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f632f63332f466c61675f6f665f4672616e63652e7376672f32353070782d466c61675f6f665f4672616e63652e7376672e706e67)](https://camo.githubusercontent.com/e691cea9486fa5845f35e3813b8b61b7f0c4ba62cf393eb7f8c9093a440ee810/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f632f63332f466c61675f6f665f4672616e63652e7376672f32353070782d466c61675f6f665f4672616e63652e7376672e706e67)*

---

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f26042161b8de258f75fa005f27a4d3ae45fc4cae0446c7baa8942632b5dfa0?d=identicon)[relisiuol](/maintainers/relisiuol)

---

Top Contributors

[![louisgcom](https://avatars.githubusercontent.com/u/116557686?v=4)](https://github.com/louisgcom "louisgcom (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/gcommeuneidee-wp-cli-replacetext/health.svg)

```
[![Health](https://phpackages.com/badges/gcommeuneidee-wp-cli-replacetext/health.svg)](https://phpackages.com/packages/gcommeuneidee-wp-cli-replacetext)
```

PHPackages © 2026

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