PHPackages                             andreekeberg/wp-search-replace-cli - 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. [Database &amp; ORM](/categories/database)
4. /
5. andreekeberg/wp-search-replace-cli

ActiveLibrary[Database &amp; ORM](/categories/database)

andreekeberg/wp-search-replace-cli
==================================

Command line tool to replace serialized strings in WordPress database dump files

1.1.0(5y ago)3293MITPHPPHP &gt;=4.0.0

Since Sep 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/andreekeberg/wp-search-replace-cli)[ Packagist](https://packagist.org/packages/andreekeberg/wp-search-replace-cli)[ Docs](https://github.com/andreekeberg/wp-search-replace-cli)[ RSS](/packages/andreekeberg-wp-search-replace-cli/feed)WikiDiscussions master Synced 1mo ago

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

WP Search Replace CLI
=====================

[](#wp-search-replace-cli)

[![Latest Stable Version](https://camo.githubusercontent.com/eca7ff2857026b1bed2dc2e7ad33f211fe83b0f81080bac74446402ceac86107/68747470733a2f2f706f7365722e707567782e6f72672f616e647265656b65626572672f77702d7365617263682d7265706c6163652d636c692f762f737461626c65)](https://packagist.org/packages/andreekeberg/wp-search-replace-cli) [![Total Downloads](https://camo.githubusercontent.com/ce825d0760d22dd97e912ee4bb19310815de8bc935e114f6d2678d8ac05bc6b4/68747470733a2f2f706f7365722e707567782e6f72672f616e647265656b65626572672f77702d7365617263682d7265706c6163652d636c692f646f776e6c6f616473)](https://packagist.org/packages/andreekeberg/wp-search-replace-cli) [![License](https://camo.githubusercontent.com/5680707cbc1a4a32cce056982ed5ce1d63ad2f5964fedfd918f1c6d9cac56d41/68747470733a2f2f706f7365722e707567782e6f72672f616e647265656b65626572672f77702d7365617263682d7265706c6163652d636c692f6c6963656e7365)](https://packagist.org/packages/andreekeberg/wp-search-replace-cli)

Command line tool to replace serialized strings in WordPress database dump files.

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

[](#requirements)

- PHP 4.0.0 or higher

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

[](#installation)

```
composer global require andreekeberg/wp-search-replace-cli

```

Usage
-----

[](#usage)

```
wp-search-replace [options]

```

### Options

[](#options)

OptionDescriptionDefault**--input**, **-i**Path to input file**--search**, **-s**The value being searched for**--replace**, **-r**Replacement string**--output**, **-o**Path to output file (optional)`STDOUT`Contributing
------------

[](#contributing)

Read the [contribution guidelines](CONTRIBUTING.md).

Changelog
---------

[](#changelog)

Refer to the [changelog](CHANGELOG.md) for a full history of the project.

License
-------

[](#license)

WP Search Replace CLI is licensed under the [MIT license](LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Unknown

Total

1

Last Release

2077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86bc1ee1c801495796569fefa0c1275d88542a5d74d5ddf04c4851e88351fa20?d=identicon)[andreekeberg](/maintainers/andreekeberg)

---

Top Contributors

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

---

Tags

clicommand-linecommand-line-tooldatabasedumpexportimportmysqlreplacesearchsearch-replaceserializeserializedsqltoolunserializewordpresswpsearchcliwordpressdatabaseserializeexportdumpmysqlsqltoolfileimportwpunserializereplaceserializedsearch-replace

### Embed Badge

![Health badge](/badges/andreekeberg-wp-search-replace-cli/health.svg)

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

###  Alternatives

[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)[dbout/wp-orm

WordPress ORM with Eloquent.

1279.6k1](/packages/dbout-wp-orm)[cytopia/mysqldump-secure

Secure mysqldump script with encryption, compression, logging, blacklisting and Nagios monitoring integration

1474.7k1](/packages/cytopia-mysqldump-secure)[kmi/db-sync-tool

Python script to synchronize a database from and to client systems.

323.5k](/packages/kmi-db-sync-tool)[codesvault/howdy-qb

Mysql Query Builder for WordPress

371.2k1](/packages/codesvault-howdy-qb)

PHPackages © 2026

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