nietthijmen/sitemap-compare 问题修复 & 功能扩展

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

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

nietthijmen/sitemap-compare

最新稳定版本:1.0.1

Composer 安装命令:

composer create-project nietthijmen/sitemap-compare

包简介

A CLI tool for working with sitemaps.

README 文档

README

Find sitemaps, urls, compare sitemaps and even compare websites to sitemaps.

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Features

  • Find sitemaps from a website
  • Find urls from a sitemap
  • Compare two sitemaps
  • Compare a website to a sitemap
  • Export results to JSON or CLI format
  • Multithreaded for speed (requires pcntl extension)
  • Command line interface (CLI) for easy use

Requirements

  • PHP 8.0 or higher
  • Composer
  • pcntl extension
  • cURL extension
  • SimpleXML extension
  • JSON extension
  • mbstring extension

Installation

  1. Install via composer
composer global require nietthijmen/sitemap-compare 
  1. You're done!

Installation (development)

  1. Clone the repository:
  2. Navigate to the project directory:
    cd sitemap-finder
  1. Install dependencies using Composer:
    composer install
  1. Run the application:
    php sitemap-compare list

Usage

Find sitemaps from a website

    php sitemap-compare sitemap:find <website_url>

Find urls from a sitemap

    php sitemap-compare url:find <website_url>

Compare two sitemaps

    php sitemap-compare compare:sitemaps <url 1> <url 2> --output-format=json

Compare a website to a sitemap

Warning, this will take a long long long time

  • it will most likely stress the target website, so do it on your OWN servers
    php sitemap-compare compare:website <source url> <target url> --output-format=cli --concurrency=5

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-18