PHPackages                             nucleos/sitemap-bundle - 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. nucleos/sitemap-bundle

Abandoned → [nucleos/seo-bundle](/?search=nucleos%2Fseo-bundle)ArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

nucleos/sitemap-bundle
======================

This bundle provides some classes for an automatic sitemap.xml generation.

4.4.0(3y ago)38.0k2[1 issues](https://github.com/nucleos/NucleosSitemapBundle/issues)MITPHPPHP ^8.0

Since Oct 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nucleos/NucleosSitemapBundle)[ Packagist](https://packagist.org/packages/nucleos/sitemap-bundle)[ Docs](https://nucleos.rocks)[ GitHub Sponsors](https://github.com/sponsors/core23)[ Fund](https://ko-fi.com/core23)[ RSS](/packages/nucleos-sitemap-bundle/feed)WikiDiscussions 4.5.x Synced today

READMEChangelog (9)Dependencies (12)Versions (14)Used By (0)

NucleosSitemapBundle
====================

[](#nucleossitemapbundle)

[![Latest Stable Version](https://camo.githubusercontent.com/56bde5d659ad2199c763ca73fac5306d8a8cdc89636f639955d6e6eac4116608/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f762f737461626c65)](https://packagist.org/packages/nucleos/sitemap-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/6447669ae4d6374079318306765d5e49934c2b8eaee4b0bbebb2bc8a6d525e7c/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/nucleos/sitemap-bundle)[![License](https://camo.githubusercontent.com/b8148535bf1edf2f57a04862c68dc1f5bfc9697245c903aee19216721a7d2c12/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f6c6963656e7365)](https://packagist.org/packages/nucleos/sitemap-bundle)

[![Total Downloads](https://camo.githubusercontent.com/f615f5c02aa3dbd8afcfc60d7bfe9783cb5d5ca4fc6b1611898e04268297ab3e/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/nucleos/sitemap-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/cce495820519b3c13cc1968e8bf486d3c77c3aa1994a84793143d97cb003a9da/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f642f6d6f6e74686c79)](https://packagist.org/packages/nucleos/sitemap-bundle)[![Daily Downloads](https://camo.githubusercontent.com/e4fad40624c0ed0432f32e3f78d7ff0da35e49671cd21dd1a1486b715996e390/68747470733a2f2f706f7365722e707567782e6f72672f6e75636c656f732f736974656d61702d62756e646c652f642f6461696c79)](https://packagist.org/packages/nucleos/sitemap-bundle)

[![Continuous Integration](https://github.com/nucleos/NucleosSitemapBundle/workflows/Continuous%20Integration/badge.svg?event=push)](https://github.com/nucleos/NucleosSitemapBundle/actions?query=workflow%3A%22Continuous+Integration%22+event%3Apush)[![Code Coverage](https://camo.githubusercontent.com/0ef399234a31f42ba64c21cdfcc2fb5b603532e1db20d36c2250b6a51783a3f8/68747470733a2f2f636f6465636f762e696f2f67682f6e75636c656f732f4e75636c656f73536974656d617042756e646c652f67726170682f62616467652e737667)](https://codecov.io/gh/nucleos/NucleosSitemapBundle)[![Type Coverage](https://camo.githubusercontent.com/a12794d03dbeeed7d73d123a0679e3f6f8d1de6d5e3c71b3350a54b0a492c81a/68747470733a2f2f73686570686572642e6465762f6769746875622f6e75636c656f732f4e75636c656f73536974656d617042756e646c652f636f7665726167652e737667)](https://shepherd.dev/github/nucleos/NucleosSitemapBundle)

This bundle provides some classes for an automatic **sitemap.xml** generation.

Installation
------------

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require nucleos/sitemap-bundle

```

### Enable the Bundle

[](#enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Nucleos\SitemapBundle\NucleosSitemapBundle::class => ['all' => true],
];
```

### Configure the Bundle

[](#configure-the-bundle)

Create a configuration file called `nucleos_sitemap.yaml`:

```
# config/routes/nucleos_sitemap.yaml

nucleos_sitemap:
    resource: '@NucleosSitemapBundle/Resources/config/routing/sitemap.yml'
    prefix: /
```

If you want to use symfony cache, you should define a new cache pool (PSR 6) and create an adapter to map it to a simple cache (PSR 16):

```
nucleos_sitemap:
    cache:
        service: 'sitemap.cache.simple'

framework:
    cache:
        pools:
            sitemap.cache:
                adapter: cache.app
                default_lifetime: 60

services:
    sitemap.cache.simple:
        class: 'Symfony\Component\Cache\Psr16Cache'
        arguments:
            - '@sitemap.cache'
```

### Add static entries

[](#add-static-entries)

You can add static entries in your yaml config:

```
# config/packages/nucleos_sitemap.yaml

nucleos_sitemap:
    static:
        - { url: 'http://example.com', priority: 75, changefreq: 'weekly' }
```

### Add a custom sitemap

[](#add-a-custom-sitemap)

If you want to create a custom sitemap, the only thing you have to do is to create a service that uses `Nucleos\SitemapBundle\Sitemap\SitemapServiceInterface` and tag the service with `nucleos.sitemap`.

```

```

License
-------

[](#license)

This bundle is under the [MIT license](LICENSE.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~54 days

Total

14

Last Release

1330d ago

Major Versions

3.2.0 → 4.0.02020-06-21

PHP version history (4 changes)3.0.0PHP ^7.1

3.0.1PHP ^7.2

4.1.0PHP ^7.3 || ^8.0

4.2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/46179d0f1a863a1a71c634a413d857f8428ad9a8273cd065ba4f0e864730dde9?d=identicon)[core23](/maintainers/core23)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (367 commits)")[![nucleos-bot](https://avatars.githubusercontent.com/u/60489587?v=4)](https://github.com/nucleos-bot "nucleos-bot (359 commits)")[![core23](https://avatars.githubusercontent.com/u/3440437?v=4)](https://github.com/core23 "core23 (201 commits)")[![kodiakhq[bot]](https://avatars.githubusercontent.com/in/29196?v=4)](https://github.com/kodiakhq[bot] "kodiakhq[bot] (29 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (2 commits)")

---

Tags

bundlehacktoberfestphpsitemal-xmlsitemapsymfonysymfony-bundlesymfonybundleSitemapsitemap.xml

### Embed Badge

![Health badge](/badges/nucleos-sitemap-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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