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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

webit/sitemap-bundle
====================

Web-IT Sitemap Bundle

2.0.0(6y ago)0115MITPHPPHP &gt;=5.6.9

Since Jan 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dbojdo/sitemap-bundle)[ Packagist](https://packagist.org/packages/webit/sitemap-bundle)[ Docs](http://www.web-it.eu)[ RSS](/packages/webit-sitemap-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (3)Versions (7)Used By (0)

sitemap-bundle
==============

[](#sitemap-bundle)

Sitemap Symfony 2 Integration

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

[](#installation)

### Composer: add the **webit/sitemap-bundle** into **composer.json**

[](#composer-add-the-webitsitemap-bundle-into-composerjson)

```
{
    "require": {
        "php":              ">=5.3.2",
        "webit/sitemap-bundle": "dev-master"
    }
}
```

Usage
-----

[](#usage)

### Register bundle in Kernel

[](#register-bundle-in-kernel)

Add following lines:

```
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Webit\Bundle\SitemapBundle\WebitSitemapBundle(),
    // ...
);

```

### Create your implementation of ***Webit\\Sitemap\\Exposer\\UrlExposerInterface***

[](#create-your-implementation-of-webitsitemapexposerurlexposerinterface)

```
namespace MyProject;

use Webit\Sitemap\Exposer\UrlExposerInterface;
use Webit\Sitemap\Model\UrlSet;
class MyExposer implements UrlExposerInterface
{
    /**
     * @return UrlSet
     */
    public function getUrlSet()
    {
        $urlSet = new UrlSet();

        $url = new Url();
        $url->setLocation('http://page.url/my-site');
        $urlSet->addUrl(new Url());

        // add to $urlSet all urls you need

        return $urlSet;
    }
}
```

### Register your UrlExposer in a Service Container and tag it as ***webit\_sitemap.url\_exposer***

[](#register-your-urlexposer-in-a-service-container-and-tag-it-as-webit_sitemapurl_exposer)

```

        MyProject\MyExposer

```

or

```
parameters:
    my_project.my_exposer.class: MyProject\MyExposer

services:
    my_project.my_exposer:
        class: %my_project.my_exposer.class%
        tags:
            - { name: webit_sitemap.url_exposer }
```

### Import sitemap routings

[](#import-sitemap-routings)

```
sitemap:
    prefix: /
    resource: @WebitSitemapBundle/Resources/config/routing.xml
```

### Go to  to see generated file

[](#go-to-httpyour-domaincomsitemap-to-see-generated-file)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

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

Recently: every ~84 days

Total

6

Last Release

2348d ago

Major Versions

0.11.x-dev → 1.0.02019-02-20

1.x-dev → 2.0.02020-01-24

PHP version history (2 changes)0.11.x-devPHP &gt;=5.3.2

2.0.0PHP &gt;=5.6.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6cc50814a7b150c2a02d719d33c6e11040a6d0d010b2f986a24794edce7f52f?d=identicon)[dbojdo](/maintainers/dbojdo)

---

Top Contributors

[![dbojdo](https://avatars.githubusercontent.com/u/1272416?v=4)](https://github.com/dbojdo "dbojdo (9 commits)")[![dbojdo8x8](https://avatars.githubusercontent.com/u/76156710?v=4)](https://github.com/dbojdo8x8 "dbojdo8x8 (1 commits)")

---

Tags

Sitemapweb-it

### Embed Badge

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

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

###  Alternatives

[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.8k8.7k1](/packages/kimai-kimai)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[yceruto/formflow-bundle

Create and manage multistep forms

2414.8k](/packages/yceruto-formflow-bundle)

PHPackages © 2026

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