Download the PHP package in-square/pimcore-sitemap-bundle without Composer
On this page you can find all versions of the php package in-square/pimcore-sitemap-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download in-square/pimcore-sitemap-bundle
More information about in-square/pimcore-sitemap-bundle
Files in in-square/pimcore-sitemap-bundle
Package pimcore-sitemap-bundle
Short Description Static XML sitemap generator for Pimcore (Documents + DataObjects).
License GPL-3.0-or-later
Homepage https://github.com/in-square/pimcore-sitemap-bundle
Informations about the package pimcore-sitemap-bundle
InSquare Pimcore Sitemap Bundle
Static XML sitemap generator for Pimcore (Documents + DataObjects) with multi-site and multi-locale support.
Requirements
- PHP 8.1+
- Pimcore 11 / Symfony 6.4
- Symfony Messenger (for queue processing)
- Elements Process Manager (commands integrate with Process Manager)
Installation
Enable the bundle in config/bundles.php:
Configuration
Create config/packages/in_square_pimcore_sitemap.yaml:
Notes:
sites[*].objectsdefines DataObject classes to collect for each site.object_generatorskeys must matchObjectGeneratorInterface::getId(); keys are used in sitemap filenames.
Commands
bin/console insquare:sitemap:install– createsitemap_itemtable.bin/console insquare:sitemap:collect– dispatch sitemap messages to Messenger.bin/console insquare:sitemap:dump– generate XML files from database.bin/console insquare:sitemap:delete– delete XML files and truncate the table.
Add routing for Messenger in config/packages/framework.yaml:
Run Messenger worker for the queue:
Controller
The bundle exposes /sitemap.xml. The controller selects the correct site and serves the
pre-generated file from public/sitemap/sitemap.{siteId}.xml.
Object generators
Implement InSquare\PimcoreSitemapBundle\Generator\ObjectGeneratorInterface in your app:
The generator returns a SitemapItemData DTO used to persist rows in sitemap_item.
All versions of pimcore-sitemap-bundle with dependencies
elements/process-manager-bundle Version ^5.0
symfony/framework-bundle Version ^6.4
symfony/messenger Version ^6.4
symfony/console Version ^6.4
symfony/routing Version ^6.4
pimcore/pimcore Version ^11.0