PHPackages                             mubat/yii2-sitemap-generator - 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. mubat/yii2-sitemap-generator

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

mubat/yii2-sitemap-generator
============================

Yii2 widget for sitemap generation

v1.0(8y ago)4229MITPHPPHP &gt;=5.4

Since Nov 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mubat/yii2-sitemap-generator)[ Packagist](https://packagist.org/packages/mubat/yii2-sitemap-generator)[ RSS](/packages/mubat-yii2-sitemap-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

yii2-sitemap-generator
======================

[](#yii2-sitemap-generator)

Simple widget for [Yii2 framework](http://www.yiiframework.com) to generate sitemap.

Support **XML** format generation.

Support multi language.

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

[](#installation)

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run `php composer require mubat/yii2-sitemap-generator`

or add `"mubat/yii2-sitemap-generator" : "~1.0"` to the require section of your `composer.json`

---

Widget contains 2 models:

1. **Sitemap** - base model. It contains *SitemapElement* array and methods to generate XML. If `$languages` array published, model will generate *'alternate'* links.
2. **SitemapElement** - represents one `` element. It contains:
    - `$loc` - **requrired** - page url (as array). Before insert into XML it will be process by `yii2\helpers\Url::toRoute()` method.
    - `$updated_at` - *optional* - last page update;
    - `$changefreq` - **requrired**, default `'weekly'` - from class constant.
    - `$priority` - **requrired**, default `0.4` - page priority.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3110d ago

### Community

Maintainers

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

---

Tags

yii2widgetSitemap

### Embed Badge

![Health badge](/badges/mubat-yii2-sitemap-generator/health.svg)

```
[![Health](https://phpackages.com/badges/mubat-yii2-sitemap-generator/health.svg)](https://phpackages.com/packages/mubat-yii2-sitemap-generator)
```

###  Alternatives

[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20144.4k11](/packages/softark-yii2-dual-listbox)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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