pieceofcake2 / sitemap
Automatic XML and HTML sitemaps for CakePHP 2 applications
Requires
- php: >=8.0
- composer/installers: ^1.0 || ^2.0
- pieceofcake2/cakephp: ^2.12
Requires (Dev)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpcs-cakephp2: ^1.1
- pieceofcake2/phpstan-cakephp2: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
- loadsys/cakephp_sitemap: ^1.0
This package is auto-updated.
Last update: 2026-10-16 09:34:54 UTC
README
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
- Website: https://pieceofcake2.github.io/sitemap/ (日本語: https://pieceofcake2.github.io/sitemap/ja/)
- Markdown: docs/README.md (日本語: docs/ja/README.md) (for AI tools and offline reading)
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.