andreekeberg / wp-search-replace-cli
Command line tool to replace serialized strings in WordPress database dump files
Installs: 280
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/andreekeberg/wp-search-replace-cli
Requires
- php: >=4.0.0
- andreekeberg/serialized-search-replace: ^1.1
This package is auto-updated.
Last update: 2025-10-10 13:14:41 UTC
README
Command line tool to replace serialized strings in WordPress database dump files.
Requirements
- PHP 4.0.0 or higher
Installation
composer global require andreekeberg/wp-search-replace-cli
Usage
wp-search-replace [options]
Options
Option | Description | Default |
---|---|---|
--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
Read the contribution guidelines.
Changelog
Refer to the changelog for a full history of the project.
License
WP Search Replace CLI is licensed under the MIT license.