PHPackages                             alc/sitemap-crawler - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alc/sitemap-crawler

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alc/sitemap-crawler
===================

Crawl sitemap.xml recursively and return collected urls as array

v2.0.0(5y ago)52.5k↓88.9%22MITPHPPHP ^7.2.5

Since Dec 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chemel/sitemap-crawler)[ Packagist](https://packagist.org/packages/alc/sitemap-crawler)[ Docs](https://github.com/chemel/sitemap-crawler)[ RSS](/packages/alc-sitemap-crawler/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (2)

sitemap-crawler
===============

[](#sitemap-crawler)

Crawl sitemap.xml recursively and return collected urls as array

Install
-------

[](#install)

```
composer require alc/sitemap-crawler
```

Usage
-----

[](#usage)

```
require __DIR__.'/vendor/autoload.php';

use Alc\SitemapCrawler;

$crawler = new SitemapCrawler();

$data = $crawler->crawl('https://chemel.blog/sitemap.xml');

print_r($data);
```

Usage in a terminal:
--------------------

[](#usage-in-a-terminal)

```
php crawl.php https://chemel.blog/sitemap.xml
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

1891d ago

Major Versions

v1.0.0 → v2.0.02021-04-26

PHP version history (2 changes)1.0.x-devPHP &gt;=5.3.0

v2.0.0PHP ^7.2.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2664215?v=4)[Alexis CHEMEL](/maintainers/chemel)[@chemel](https://github.com/chemel)

---

Top Contributors

[![chemel](https://avatars.githubusercontent.com/u/2664215?v=4)](https://github.com/chemel "chemel (11 commits)")

---

Tags

crawlerSitemap

### Embed Badge

![Health badge](/badges/alc-sitemap-crawler/health.svg)

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

###  Alternatives

[jaybizzle/crawler-detect

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent

2.4k101.6M262](/packages/jaybizzle-crawler-detect)[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3384.0M35](/packages/wa72-htmlpagedom)[samdark/sitemap

Sitemap and sitemap index builder

5401.4M43](/packages/samdark-sitemap)[vdb/php-spider

A configurable and extensible PHP web spider

1.3k184.2k7](/packages/vdb-php-spider)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.7M18](/packages/jaybizzle-laravel-crawler-detect)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M52](/packages/nystudio107-craft-seomatic)

PHPackages © 2026

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