Sitemap generator

dev-master 2019-12-05 15:34 UTC

This package is auto-updated.

Last update: 2022-07-05 21:31:40 UTC


Library to generate XML sitemaps.

StyleCI Build Status Code Coverage Scrutinizer Code Quality

Work in progress!

Example of usage is in example directory.


$ composer require wszetko/sitemap


PHP 7.2 or newer is recommended.


The library has a :

There are prepared composer scripts to run. To see full list please type in console:

$ composer list

To run the full tests, run the following command from the project folder:

$ composer test

Please note that those test should run on PHP 7.1 or higher.

If You want to run just PHPUnit tests please run:

$ composer phpunit

To do

  • load previous sitemap and compare changes
  • Driver XML Text
  • Driver DataCollector MySQL
  • Driver DataCollector PostgreSQL
  • Driver DataCollector MongoDB
  • Driver DataCollector CrunchDB (?)
  • Ability to generate sitemap without publishing
  • Ability to publish sitemap without clearing previous files
  • Logging compatible with PSR-3


This library is licensed under the MIT License - see the file for details.