nouvelletechno/sitemap-bundle
Symfony bundle for generating XML sitemaps from your application's routes and content. It produces search-engine-friendly sitemap files to help crawlers discover and index your pages, with a simple setup that fits into existing Symfony projects.
changefreq and priority turns "improve organic discoverability" from a backlog epic into a small, shippable configuration task. It supports prioritization decisions about which content surfaces (marketing pages, listings, CMS entries) are worth indexing effort first.Consider it when:
changefreq and priority control, which implies a heterogeneous site where a one-size-fits-all sitemap is inadequate.Look elsewhere or proceed cautiously when:
0.2.0 release, the second minor version of a pre-1.0 package. Expect breaking changes between minor versions, and treat the public API as unstable. If you cannot absorb upgrade churn, prefer a mature alternative or a thin in-house implementation.lastmod handling, gzip output, image/video/news sitemap extensions, sitemap caching, multi-domain or multi-locale handling, or XML escaping and URL validation edge cases. Validate these against your requirements before adopting.Recommendation: worth a time-boxed spike, not a committed adoption. Prototype against a representative route set, confirm lastmod, caching, and large-site behavior, and pin the exact version in composer.json with a note that minor bumps may break.
For executives: This is a small, low-cost dependency that makes our pages easier for search engines to find and prioritize, using configuration we already have in code. It removes a manual step from every site launch and gives us route-level control over which content we ask search engines to crawl first. The cost is negligible; the risk is that the package is early-stage (version 0.2), so we should trial it on one property before standardizing. Upside is better organic discoverability and one less recurring manual task; decision needed is a short engineering spike, not a budget line.
For engineering: A Laravel package that generates the sitemap from our route definitions, with changefreq and priority set per route. It keeps the sitemap aligned with the actual route table, so it stops drifting the moment someone adds a page. It is pre-1.0, so the API is not stable — pin the version and expect to absorb breaking changes on minor releases. Before we commit, we need to confirm three things it does not appear to cover in this release: sitemap splitting or an index file past ~50k URLs, lastmod accuracy, and caching so we are not regenerating XML on every request. If those check out, this replaces roughly a day of bespoke work plus ongoing maintenance.
How can I help you explore Laravel packages today?