piotrpress/wordpress-diff 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

piotrpress/wordpress-diff

最新稳定版本:v1.0.1

Composer 安装命令:

composer create-project 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.

README 文档

README

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

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

Setup

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

Usage

$ docker compose up -d
$ docker compose exec php bash -c "php wp-diff <old-site> <new-site> [--exclude-type=<post-type>] ... [--exclude-post=<post-link>] ..."
$ docker compose down

Parameters

The <old-site> and <new-site> 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

License

MIT

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-26