Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Sitemap Bundle Laravel Package

nucleos/sitemap-bundle

NucleosSitemapBundle is a Symfony bundle for generating XML sitemaps from routes, Doctrine entities, and custom providers. It supports sitemap indexes, URL sets, priorities, change frequencies, last-modified dates, and caching, making it easy to expose content to search engines.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Poor for a Laravel codebase. nucleos/sitemap-bundle is a Symfony bundle, not a Laravel package. It expects Symfony’s bundle registration, DI container, routing, and event system. Laravel’s service-provider model is not compatible without significant adapter work. Release 4.4.0 confirms the project is deprecated in favor of nucleos/seo-bundle — which is also a Symfony bundle, so the framework mismatch is unchanged and now permanent.
  • Integration feasibility: Low, and now formally closed for new work. Composer installation may succeed, but runtime integration requires Symfony kernel/DI assumptions. The 4.4.0 release adds an explicit deprecation notice (PR #483) directing adopters to nucleos/seo-bundle; there is no path where this package receives new features or compatibility work. Extracting only the sitemap-generation classes remains possible only if they are decoupled from Symfony and Doctrine/CMS dependencies, and that must be verified in source before any commitment.
  • Technical risk: High and now confirmed rather than inferred. The package is archived, last released 2022-09-18 (4.4.0, a deprecation-only minor with 1 PR and 1 contributor), has 5 stars and 0 dependents. The deprecation is the maintainer’s own signal that the package is end-of-life. There is no active maintainer, no security patch path, and unknown compatibility with modern PHP/Symfony versions. The only forward path offered is another Symfony bundle, so this is a dead end for a Laravel target rather than a redirect to a viable option.
  • Key questions:
    • Is the target application Laravel, Symfony, or a mixed stack? (Unchanged — but if Laravel, this package is now definitively out.)
    • Does nucleos/seo-bundle cover sitemap generation, and is it actively maintained, or is it the same maintainer consolidating an EOL portfolio?
    • What PHP and Symfony version constraints are declared in composer.json for both sitemap-bundle and seo-bundle?
    • Does either bundle depend on Doctrine, CMS routing, Sonata, or other heavy components?
    • Can the sitemap generation logic be extracted cleanly, or is it tightly coupled to Symfony?
    • What feature coverage is required: static URLs, dynamic entities, sitemap indexes, hreflang alternates, image/video sitemaps?
    • Is there a maintained fork or a Laravel-native replacement that satisfies the requirement?
    • Who will own a fork if the package is retained, and what is the justification for forking a package its own maintainer has deprecated?

Integration Approach

  • Stack fit: Do not integrate directly into a Laravel application. Use a Laravel-native sitemap generator such as spatie/laravel-sitemap, or implement a small internal generator if requirements are simple. Treat nucleos/sitemap-bundle as a reference implementation only. Do not start new work on it following the 4.4.0 deprecation.
  • Migration path:
    • Laravel target: No migration path; replace with a maintained Laravel package or internal module. The 4.4.0 deprecation removes any remaining argument for an adapter layer.
    • Symfony target: Do not migrate to nucleos/seo-bundle on the strength of the deprecation notice alone — evaluate it as a new dependency first (activity, release cadence, constraint compatibility, feature parity for sitemap generation). If it passes, plan a migration; if not, pin the last sitemap-bundle release, fork into a private repository, add regression tests, and upgrade constraints incrementally.
    • Extraction path: If only the XML generation classes are needed, copy the minimal MIT-licensed logic into an internal package, remove Symfony coupling, and own the code. Deprecation does not change the licensing, but it does mean no upstream fixes will land.
  • Compatibility: Audit Composer constraints before any spike, for both the current package and seo-bundle if that path is considered. Laravel already depends on several Symfony components, so version conflicts are likely. Verify PHP 8.2/8.3 compatibility, Symfony 6/7 compatibility, and whether the bundle relies on deprecated APIs.
  • Sequencing:
    1. Confirm framework target and sitemap requirements. If Laravel, close out this evaluation immediately.
    2. If Symfony, run a short spike on nucleos/seo-bundle to confirm sitemap feature parity and maintenance status before considering it a successor.
    3. Run a one-day spike in an isolated branch on any retained option: install, inspect dependencies, attempt generation.
    4. Decide: replace, extract, or fork. Do not adopt sitemap-bundle as-is.
    5. If replacing, implement scheduled sitemap generation with tests, XML validation, and sitemap-index support.
    6. If forking, add CI, dependency updates, and an internal owner before production use, and record the deprecation as the rationale for ownership.
    7. Add monitoring for generation failures and stale sitemap detection.

Operational Impact

  • Maintenance: High if adopted. The 4.4.0 deprecation makes this explicit: no upstream fixes, no security patches, no compatibility updates, and no feature work. An internal owner must maintain any fork, review CVEs in transitive dependencies, and handle PHP/Symfony upgrades. Budget for the eventual migration off the package entirely, not just for keeping it running.
  • Support: Effectively none. Low stars, zero dependents, archived status, and now a formal deprecation with no community successor beyond another Symfony bundle from the same maintainer. Ramp-up requires Symfony expertise and source-level reading; documentation is likely thin. Expect no upstream answers to integration questions.
  • Scaling: Sitemap generation itself is usually batch-oriented and can be scheduled or queued. However, the bundle may not support large sitemap indexes, memory-efficient streaming, or high-volume dynamic URL sets. Load-test with realistic URL counts and enforce the 50k-URL/50MB sitemap limits. Deprecation means any scaling limitation found is permanent.
  • Failure modes:
    • Composer dependency conflicts after framework upgrades.
    • Runtime breakage on newer PHP or Symfony versions, with no patch path.
    • Stale sitemap after content/model changes.
    • XML escaping or invalid URL generation.
    • Generation timeouts or memory exhaustion on large catalogs.
    • Abandoned transitive dependencies with unresolved security issues.
    • A stalled or reversed migration to nucleos/seo-bundle, leaving the team on a deprecated dependency with a half-finished replacement.
  • Ramp-up: Expect 1–2 days for a technical spike and dependency audit on any retained option, plus 0.5–1 day to evaluate nucleos/seo-bundle as a successor if the stack is Symfony. If a fork is required, estimate 1–2 weeks for hardening, tests, and upgrade work, and note that effort now buys a package its maintainer has deprecated. For a Laravel team, the better ramp-up is adopting a maintained Laravel-native package rather than learning Symfony bundle internals for a single feature.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums