agattitech / wpcli-sanitize-db
Removes sensitive data from your local database
Installs: 79
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wp-cli-package
Requires
- fakerphp/faker: ^1.19
This package is not auto-updated.
Last update: 2025-03-23 06:07:44 UTC
README
Removes sensitive data from your local database replacing it with random data.
WARNING: This will overwrite data in your local database.
Installation
To install as a wp-cli package:
#!bash
wp package install git@bitbucket.org:freshconsulting/wpcli-sanitize-db.git
Or to install manually clone this repo and add the path to the sanitize-db.php
file to the require
section of your ~/.wp-cli/config.yml
(see https://make.wordpress.org/cli/handbook/config/#config-files for details).
To use
#!bash
wp sanitize db