Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/piotrpress/wordpress-diff
- Owner: PiotrPress
- License: mit
- Created: 2024-06-26T13:10:15.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-26T13:15:25.000Z (5 months ago)
- Last Synced: 2024-06-26T14:29:39.419Z (5 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
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)