Download the PHP package himiklab/yii2-sitemap-module without Composer
On this page you can find all versions of the php package himiklab/yii2-sitemap-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-sitemap-module
XML Sitemap Module for Yii2
Yii2 module for automatically generating XML Sitemap.
[]() [
]() [
]()
Installation
The preferred way to install this extension is through composer.
- Either run
or add
to the require
section of your application's composer.json
file.
-
Configure the
cache
component of your application's configuration file, for example: -
Add
use himiklab\sitemap\behaviors\SitemapBehavior;
to the beginning of configuration file -
Add a new module in
modules
section of your application's configuration file, for example: -
Add behavior in the AR models, for example:
- Add a new rule for
urlManager
of your application's configuration file, for example: