Search by

pieceofcake2 / sitemap

ttsurupieceofcake2

Automatic XML and HTML sitemaps for CakePHP 2 applications

Package info

github.com/pieceofcake2/sitemap

Type:cakephp-plugin

pkg:composer/pieceofcake2/sitemap

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.7 2026-10-16 08:34 UTC

README

GitHub License Packagist Version PHP CakePHP PHPStan CI Codecov

pieceofcake2/sitemap adds automatic XML and HTML sitemaps to a CakePHP 2 application. Add the Sitemap.Sitemap behavior to your models and their records are listed at /sitemap.xml and /sitemap, together with the static pages of the application.

Documentation

The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/Sitemap/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.

Requirements

  • PHP 8.0+
  • pieceofcake2/cakephp 2.12+

Installation

composer require pieceofcake2/sitemap

Then load the plugin with its routes and add the behavior to your models. See Installation and Usage.

Contributing

See the contribution guidelines.

Please report issues on GitHub.

Origin

This package is a maintained fork of loadsys/CakePHP-Sitemap (loadsys/cakephp_sitemap on Packagist, last upstream version 1.0.2), originally by Loadsys Web Strategies. It is maintained for CakePHP 2 on modern PHP by pieceofcake2. Changes from the original are listed in the commit history since the fork.

License

MIT License. Originally developed by Loadsys Web Strategies. See LICENSE.