Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Sitemap Laravel Package

spatie/laravel-sitemap

Generate XML sitemaps for Laravel automatically by crawling your site or building them manually. Add URLs, models, lastmod/changefreq/priority, images and alternates, then write to file or disk. Supports sitemap index and large sites.

View on GitHub
Deep Wiki
Context7
8.1.0

What's new

  • Add sort() method to sitemap for consistent URL ordering (#592)
8.0.1

What's Changed

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/8.0.0...8.0.1

8.0.0
  • Upgrade spatie/crawler to v9
  • Upgrade Pest to v4
  • Require PHP 8.4+
  • Drop Laravel 11 support
  • Add maxTagsPerSitemap() to Sitemap for automatic splitting into multiple files with a sitemap index
  • Add setStylesheet() to Sitemap and SitemapIndex for XSL stylesheet support
  • Fix fragile URL path extraction in SitemapGenerator::writeToFile() when splitting sitemaps
  • Fix nullable type hints in Video and Alternate tag classes
  • Remove Spatie\Sitemap\Crawler\Observer class (use closure callbacks instead)
  • shouldCrawl callback now receives string instead of UriInterface
  • hasCrawled callback now receives CrawlResponse instead of ResponseInterface
  • Custom crawl profiles must implement the CrawlProfile interface (was abstract class)
  • Redirects are now followed by default
  • Remove guzzlehttp/guzzle and symfony/dom-crawler as direct dependencies
  • Simplify config defaults (guzzle options now merged with crawler defaults)

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.4.0...8.0.0

7.4.0

Add Laravel 13 support

7.3.8

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.3.7...7.3.8

7.3.7

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.3.6...7.3.7

7.3.5
7.3.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.3.3...7.3.4

7.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.3.2...7.3.3

7.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.3.0...7.3.1

7.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.2.1...7.3.0

7.2.0
7.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/7.1.0...7.1.1

7.0.0
  • add compatibility with spatie/crawler v8
6.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.3.1...6.4.0

6.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.3.0...6.3.1

6.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.2.5...6.3.0

6.2.5

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.2.4...6.2.5

6.2.3

What's Changed

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.2.2...6.2.3

6.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.1.1...6.2.0

6.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-sitemap/compare/6.1.0...6.1.1

6.1.0
  • allow Laravel 9
6.0.5
  • fix crawler integration (#407)
6.0.4
  • compatible with the spatie/crawler v7 contracts
6.0.3
  • allow spatie/crawler v7
6.0.2
  • bump temporary-directory to version 2.0 (#379)
6.0.1
  • do not sort links by default
6.0.0
  • add Sitemapable
  • drop support for PHP 7
5.9.2
  • allow crawler v6 (#365)
5.9.1
  • add filter() method to tags before rendering (#347)
5.9.0
  • add support for PHP 8
5.8.0
  • add support for Laravel 8
5.7.0
  • add support for Laravel 7
5.5.0
  • implement Responsable contract
5.4.0
  • make compatible with Laravel 6
5.3.1
  • make sure the sitemap cannot contain duplicate URLs
5.3.0
  • drop support for Laravel 5.7 and below
  • drop support for PHP 7.1 and below
5.2.11
  • add support for Laravel 5.8
5.2.10
  • fix some formatting issues
5.2.9
  • fix headers
5.6.0
  • add writeToDisk (#283)
5.2.8
  • adhere to sitemap standards
5.2.7
  • enforce priority value to be in between 0 and 1.
5.2.6
  • use absolute urls
5.2.5
  • Remove unused dependency
5.2.4
  • Make all generated links absolute
5.2.3
  • Add support for Laravel 5.7
5.2.2
  • Make methods on SitemapGenerator fluent
5.2.1
  • Improve indentation of rendered output
5.2.0
  • Support robots checks.
5.1.0
  • add support for a maximum amount of tags in one sitemap
5.0.1
  • Bump minimum required crawler version to ^4.0.3
5.0.0
  • Update to Crawler 4.0
4.0.0
  • Update to Laravel 5.6
  • Update to phpunit 7
  • Update to Crawler 3.0
3.3.1
  • avoid having duplicates in the sitemap
3.3.0
  • add setMaximumCrawlCount
3.2.2
  • fix custom profiles
3.2.1
  • fix bug introduced in 3.2.0
3.2.0
  • add crawl_profile config key
3.1.0
  • add ability to execute JavaScript
3.0.0
  • support for Laravel 5.5
  • dropped support for older Laravel versions
2.4.0
  • add support for alternates
2.3.1
  • move snapshots to dev dependencies
2.3.0
  • added config file with guzzle options
2.2.1
  • fix whitespace problems in sitemap indexes
2.2.0
  • add support for sitemap indexes
2.1.2
  • fix bugs in getUrl and hasUrl
2.1.1
  • fix for installations that are using short open tags
2.1.0
  • add support for Laravel 5.4
2.0.0
  • improve speed of generator by crawling with multiple concurrent connections
1.1.0
  • add compatibility for Laravel 5.2
1.0.1
  • remove unused config file
1.0.0
  • initial release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport