anomaly/sitemap-extension
A Laravel/PHP extension for the Anomaly Sitemap package, providing additional sitemap generation features and integration hooks to help customize and extend sitemap output in your application.
This is an addon for the Streams Platform (formerly PyroCMS), not a vanilla Laravel package. If your project isn't on anomaly/streams-platform, there's no meaningful integration path — stop here and roll your own sitemap controller instead.
Assuming you are on Streams:
composer require anomaly/sitemap-module.composer require anomaly/sitemap-extension.config/streams.php (or config/addons.php) — the extension will not boot unless it's listed there.php artisan addon:install anomaly/sitemap-extension so migrations and publishables run.php artisan route:list | grep -i sitemap.Where to look first: the extension's SitemapExtensionServiceProvider, its routes/web.php, and any config/views it publishes. That defines the whole contract — there is very little else to read.
First use case: serve /sitemap.xml for the site's page stream plus module entries (blog posts, products, etc.), and reference it from robots.txt.
vendor/.enabled, publish_at <= now, and non-empty slug — the extension will happily emit draft or future-dated URLs otherwise.Cache::remember(...) and invalidate on EntryWasSaved/EntryWasDeleted events, or simply on a nightly schedule.Application/locale binding; without it you'll leak URLs across sites.resources/views/vendor/ and config/. This survives package updates and is the intended extension point.app/Console/Kernel.php so the first crawl of the day isn't slow.composer.json, verify compatibility with the installed Sitemap module version, and be prepared to fork for bugfixes.config/streams.php and run php artisan addon:install again.Anomaly\SitemapExtension\. If classes aren't found, run composer dump-autoload -o before debugging anything else.&, <, and quotes. The module usually sanitises, but not always end-to-end.php artisan route:list → storage/logs/laravel.log for boot errors → php artisan stream:compile after schema changes.robots.txt's Sitemap: line and Search Console verification aligned with the actual route and hostname you generate.How can I help you explore Laravel packages today?