// the take
A framework-agnostic PHP library for building sitemaps in XML, TXT, HTML, and Google News formats, with purpose-built adapters for Laravel and Symfony. Aimed at PHP developers who need more than a flat list of URLs — think image/video sitemaps, hreflang alternates, or news sitemaps — without pulling in a framework-specific package.
Format coverage goes well beyond plain XML: images, videos, translations, alternates, and Google News are all first-class params on add(), not bolted-on extras. The SitemapConfig class with strictMode gives you actual input validation (bad priority values, malformed URLs, invalid frequency strings throw instead of silently producing a broken sitemap). There's dedicated security test coverage for path traversal in store() and for injection in the Google News XML output, which is more than most small PHP utility packages bother with given they're writing files and emitting XML from user input.
Requires PHP 8.3+, which cuts out a large slice of still-active production code running 8.1/8.2 (e.g. Laravel 10 LTS deployments) — this will be a hard blocker for a chunk of potential adopters, not just an inconvenience. There's no automatic sitemap-index splitting when you cross the 50k URL / 50MB limits that search engines enforce; the sitemapindex view exists but the docs don't show the library deciding when to chunk for you, so you're on your own to detect and split at scale. Everything lives in memory via Model::getItems() with no built-in caching or streaming — the project ships separate 'caching-strategies' and 'memory-optimization' example docs, which is a tell that large-site performance is a documented workaround rather than a solved problem in the code. The same author maintains parallel PHP/JS/Go ports plus four or five other unrelated packages, so bus-factor and attention-per-project are worth weighing before depending on fast fixes.
We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →