PHPackages                             nietthijmen/sitemap-compare - 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. nietthijmen/sitemap-compare

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

nietthijmen/sitemap-compare
===========================

A CLI tool for working with sitemaps.

1.0.1(7mo ago)05MITPHPPHP ^8.2CI passing

Since Sep 18Pushed 7mo agoCompare

[ Source](https://github.com/NietThijmen/sitemap-compare)[ Packagist](https://packagist.org/packages/nietthijmen/sitemap-compare)[ Docs](https://rierink.dev)[ RSS](/packages/nietthijmen-sitemap-compare/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Sitemap finder
==============

[](#sitemap-finder)

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/db06d0724a98e690ac730770b27fe734bb4fa4d88695463bccb920c5391a3a6b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6965747468696a6d656e2f736974656d61702d636f6d706172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nietthijmen/sitemap-compare)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a901566f5be2e364c01aaa8d9323cb54e11122b498ef4588db8d9a94af52489c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6965747468696a6d656e2f736974656d61702d636f6d706172652f6275696c642d70726f6a6563742e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/nietthijmen/sitemap-compare/actions?query=workflow%build-project+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/46fa47b66512d6b1dfe8372cc3499e30340f9b8d7a40974051b5fb5752b3b79d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6965747468696a6d656e2f736974656d61702d636f6d706172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nietthijmen/sitemap-compare)

Features
--------

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

[](#requirements)

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

Installation
------------

[](#installation)

1. Install via composer

```
composer global require nietthijmen/sitemap-compare
```

2. You're done!

Installation (development)
--------------------------

[](#installation-development)

1. Clone the repository:
2. Navigate to the project directory:

```
    cd sitemap-finder

```

3. Install dependencies using Composer:

```
    composer install

```

4. Run the application:

```
    php sitemap-compare list

```

Usage
-----

[](#usage)

### Find sitemaps from a website

[](#find-sitemaps-from-a-website)

```
    php sitemap-compare sitemap:find

```

### Find urls from a sitemap

[](#find-urls-from-a-sitemap)

```
    php sitemap-compare url:find

```

### Compare two sitemaps

[](#compare-two-sitemaps)

```
    php sitemap-compare compare:sitemaps   --output-format=json

```

### Compare a website to a sitemap

[](#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   --output-format=cli --concurrency=5

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance62

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

2

Last Release

235d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f79045ed83a1e5bf0dd03ab15600537e0afea4ae493acc3406987f694c9eb0c7?d=identicon)[NietThijmen](/maintainers/NietThijmen)

---

Top Contributors

[![NietThijmen](https://avatars.githubusercontent.com/u/53520119?v=4)](https://github.com/NietThijmen "NietThijmen (14 commits)")

---

Tags

clilaravel-zeroseositemapwebdevclilaravel-zeroSitemapseowebdev

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nietthijmen-sitemap-compare/health.svg)

```
[![Health](https://phpackages.com/badges/nietthijmen-sitemap-compare/health.svg)](https://phpackages.com/packages/nietthijmen-sitemap-compare)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

662.0M3](/packages/nunomaduro-laravel-console-summary)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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