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.
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
- Install via composer
composer global require nietthijmen/sitemap-compare
- You're done!
Installation (development)
- Clone the repository:
- Navigate to the project directory:
cd sitemap-finder
- Install dependencies using Composer:
composer install
- 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
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-18