PHPackages                             piotrpress/wordpress-diff - 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. [CLI &amp; Console](/categories/cli)
4. /
5. piotrpress/wordpress-diff

ActiveProject[CLI &amp; Console](/categories/cli)

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.

v1.0.1(1y ago)17MITPHP

Since Jun 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PiotrPress/wordpress-diff)[ Packagist](https://packagist.org/packages/piotrpress/wordpress-diff)[ Docs](https://github.com/PiotrPress/wordpress-diff)[ RSS](/packages/piotrpress-wordpress-diff/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

WordPress Diff
==============

[](#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
-------

[](#example)

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

Setup
-----

[](#setup)

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

Usage
-----

[](#usage)

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

Parameters
----------

[](#parameters)

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

**NOTE:** URLs can include the authentication credentials in the form: `https://user:password@example.com`.

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

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

[](#requirements)

- [Docker](https://www.docker.com/)
- [Docker Compose](https://docs.docker.com/compose/)

License
-------

[](#license)

[MIT](license.txt)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance40

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Every ~230 days

Total

2

Last Release

507d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

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

---

Tags

diffwordpresswp

### Embed Badge

![Health badge](/badges/piotrpress-wordpress-diff/health.svg)

```
[![Health](https://phpackages.com/badges/piotrpress-wordpress-diff/health.svg)](https://phpackages.com/packages/piotrpress-wordpress-diff)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M420](/packages/drupal-core-recommended)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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