Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/piotrpress/wordpress-diff

WordPress Diff is a command line tool for comparing contents of two WordPress installations using REST API and outputting the differences to HTML files for easy comparison.
https://github.com/piotrpress/wordpress-diff

Last synced: 5 days ago
JSON representation

WordPress Diff is a command line tool for comparing contents of two WordPress installations using REST API and outputting the differences to HTML files for easy comparison.

Awesome Lists containing this project

README

        

# WordPress Diff

WordPress Diff is a command line tool for comparing contents of two WordPress installations using REST API and outputting the differences to HTML files for easy comparison.

## Example

```shell
$ php wp-diff https://oldsite.com https://newsite.com --exclude-type=post --exclude-post=sample-page
```

## Setup

```shell
$ docker compose up -d
$ docker compose exec php bash -c "composer install"
$ docker compose down
```

## Usage

```shell
$ docker compose up -d
$ docker compose exec php bash -c "php wp-diff [--exclude-type=] ... [--exclude-post=] ..."
$ docker compose down
```

## Parameters

The `` and `` are the URLs of the WordPress installations to compare.

**NOTE:** URLs can include the authentication credentials in the form: `https://user:[email protected]`.

The `--exclude-type` and `--exclude-post` options are used to exclude post types and posts from the comparison.

## Requirements

PHP ^`8.3` version.

## License

[MIT](license.txt)