vipnytt/sitemapparser
A lightweight PHP library for parsing XML sitemaps and sitemap indexes. It recursively follows sitemap index files, extracts URLs, handles gzip compression, detects sitemap types, and supports robots.txt discovery with no external dependencies.
SitemapParser is a lightweight PHP library for parsing and validating XML sitemaps and sitemap indexes. It recursively follows sitemap index files, handles gzip-compressed sitemaps transparently, and can discover sitemap URLs from a site's robots.txt. Entries are returned as structured objects with their location and optional lastmod, making it easy to audit sitemaps or feed URLs into crawlers and SEO tooling.
.gz decompressionloc, lastmod)How can I help you explore Laravel packages today?