wszetko/sitemap

Sitemap generator

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

This package is auto-updated.

Last update: 2024-04-06 01:14:37 UTC


README

Library to generate XML sitemaps.

StyleCI Build Status Code Coverage Scrutinizer Code Quality

Work in progress!

Example of usage is in example directory.

Installation

$ composer require wszetko/sitemap

Requirements

PHP 7.2 or newer is recommended.

Testing

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

License

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