PHPackages                             fresh-advance/sitemap - 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. fresh-advance/sitemap

ActiveOxideshop-module[Utility &amp; Helpers](/categories/utility)

fresh-advance/sitemap
=====================

OXID 7 Sitemap Module

v1.0.3(1y ago)146[4 PRs](https://github.com/Fresh-Advance/Sitemap/pulls)proprietaryPHPPHP &gt;=8.0CI passing

Since Nov 29Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/Fresh-Advance/Sitemap)[ Packagist](https://packagist.org/packages/fresh-advance/sitemap)[ RSS](/packages/fresh-advance-sitemap/feed)WikiDiscussions b-7.1.x Synced 1mo ago

READMEChangelog (5)Dependencies (14)Versions (13)Used By (0)

Sitemap module for OXID eShop
=============================

[](#sitemap-module-for-oxid-eshop)

[![Development](https://github.com/Fresh-Advance/Sitemap/actions/workflows/trigger.yaml/badge.svg?branch=b-7.0.x)](https://github.com/Fresh-Advance/Sitemap/actions/workflows/trigger.yaml)[![Latest Version](https://camo.githubusercontent.com/f3d08fbadb358d444fbf8baa12b17c73e40a88aad58ff71a7fbd3df266b5cf98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f46726573682d416476616e63652f536974656d61703f6c6f676f3d636f6d706f736572266c6162656c3d6c617465737426696e636c7564655f70726572656c656173657326636f6c6f723d6f72616e6765)](https://packagist.org/packages/Fresh-Advance/Sitemap)[![PHP Version](https://camo.githubusercontent.com/5a4802a6609021199e66e14e6fc3f8b1d57534b097ca4f860ef90e4436c48293/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f46726573682d416476616e63652f536974656d6170)](https://github.com/Fresh-Advance/Sitemap)

[![Quality Gate Status](https://camo.githubusercontent.com/7102aa69f2590059ff5392aabfbc65f5cf5608817853f93854e08028437ea17f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d46726573682d416476616e63655f536974656d6170266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=Fresh-Advance_Sitemap)[![Coverage](https://camo.githubusercontent.com/58d37933a6776a0565002462d3b6730432b5204f032697fb220d9e782df76cf9/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d46726573682d416476616e63655f536974656d6170266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=Fresh-Advance_Sitemap)[![Technical Debt](https://camo.githubusercontent.com/619f2a5808dede939e0d2737650ad5b5bdf679360db5f87ff2275ec42a447aaf/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d46726573682d416476616e63655f536974656d6170266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=Fresh-Advance_Sitemap)

The idea
--------

[](#the-idea)

There is a table (fa\_sitemap) which will contain the list of all sitemap urls. Urls are updated and added during the "fa:sitemap:update" commands. The sitemap files are generated by "fa:sitemap:generate" command.

Features
--------

[](#features)

- Selectors implemented for:
    - Active categories
    - Active products and its variants
    - Active content pages from 'User information' folder
    - Main page of the shop
- Removal of the urls by removal or deactivation of the related objects
- Configurable sitemap directory

What to expect in next versions
-------------------------------

[](#what-to-expect-in-next-versions)

- Sitemap access without modifying the .htaccess maybe
- Multilanguage support
- Multishop support
- Configurable step size for update run

Version compatibility
---------------------

[](#version-compatibility)

- v1.0.x is compatible with OXID Shop compilation 7.0 and up

Branch compatibility
--------------------

[](#branch-compatibility)

- Branch b-7.1.x is compatible with OXID Shop compilation 7.1.0 and up
- Branch b-7.0.x is compatible with OXID Shop compilation 7.0.0-rc.2 and up

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

[](#installation)

Module is available on packagist. Install it via composer and activate the module

```
composer require fresh-advance/sitemap:^v1.0.0
vendor/bin/oe-eshop-doctrine_migration migrations:migrate fa_sitemap
vendor/bin/oe-console oe:module:activate fa_sitemap

```

Also consider adding the line to `.htaccess` file:

```
RewriteRule ^sitemap.xml$    sitemap/sitemap.xml   [NC,L]

```

Module usage
------------

[](#module-usage)

**Note: directory for sitemap should exist and have enough rights for php to modify its content.**

```
./vendor/bin/oe-console fa:sitemap:updateAll
./vendor/bin/oe-console fa:sitemap:generate
```

After the "generate" command, the sitemap index and sitemap pages will be generated in "source/sitemap" directory.

Note: Also its possible to update some concrete type of objects **IF needed** by some reason:

```
./vendor/bin/oe-console fa:sitemap:update general
./vendor/bin/oe-console fa:sitemap:update content
./vendor/bin/oe-console fa:sitemap:update category
./vendor/bin/oe-console fa:sitemap:update product
```

### Cron

[](#cron)

Example command for the cron for every day automatic regeneration. Make sure you change the path to your shop and the log path. Also, docker is used in this example, please double-check it by your needs.

```
0 3 * * * cd /path/to/shop/root && /usr/bin/docker compose exec php vendor/bin/oe-console fa:sitemap:updateAll >> /logpath/sitemap.log 2>&1
10 3 * * * cd /path/to/shop/root && /usr/bin/docker compose exec php vendor/bin/oe-console fa:sitemap:generate >> /logpath/sitemap.log 2>&1
```

Development installation
========================

[](#development-installation)

To be able running the tests and other preconfigured quality tools, please install the module as a [root package](https://getcomposer.org/doc/04-schema.md#root-package).

The next section shows how to install the module as a root package by using the [Fresh Advance Development Base](https://github.com/Fresh-Advance/development).

In case of different environment usage, please adjust by your own needs.

Development installation on Fresh Advance Development Base
==========================================================

[](#development-installation-on-fresh-advance-development-base)

The installation instructions below are shown for the current [Fresh Advance Development Base](https://github.com/Fresh-Advance/development)for shop 7.0. Make sure your system meets the requirements of the Development Base.

1. Ensure all docker containers are down to avoid port conflicts
2. Clone the SDK for the new project

```
echo MyProject && git clone https://github.com/Fresh-Advance/development.git $_ && cd $_
```

2. Clone the repository to the source directory

```
git clone --recurse-submodules https://github.com/Fresh-Advance/Sitemap.git --branch=b-7.0.x ./source
```

3. Run the recipe to setup the development environment

```
./source/recipes/setup-development.sh
```

You should be able to access the shop with  and the admin panel with (credentials:  / admin)

### Running the tests and quality tools

[](#running-the-tests-and-quality-tools)

Check the "scripts" section in the `composer.json` file for the available commands. Those commands can be executed by connecting to the php container and running the command from there, example:

```
make php
composer tests-coverage
```

Commands can be also triggered directly on the container with docker compose, example:

```
docker compose exec -T php composer tests-coverage
```

License
-------

[](#license)

The module is not free to use. Please make sure you checked the License before using the module.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance60

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.5% 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 ~95 days

Recently: every ~103 days

Total

6

Last Release

374d ago

Major Versions

v0.2.0 → v1.0.02024-03-17

PHP version history (2 changes)v0.1.0PHP ^8.0

v1.0.3PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![Sieg](https://avatars.githubusercontent.com/u/98882?v=4)](https://github.com/Sieg "Sieg (119 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

OXIDmodulesSitemap

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fresh-advance-sitemap/health.svg)

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

###  Alternatives

[ddoe/wysiwyg-editor-module

Summernote WYSIWYG Editor for OXID eShop.

19981.7k2](/packages/ddoe-wysiwyg-editor-module)[oxid-esales/gdpr-optin-module

This is the GDPR opt-in module for the OXID eShop.

20459.1k2](/packages/oxid-esales-gdpr-optin-module)

PHPackages © 2026

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