
laravel-sitemap
The Laravel sitemap package generates sitemaps by discovering URLs automatically instead of requiring manual URL entry.

About laravel-sitemap
laravel-sitemap is an open source PHP package for Laravel, released under the MIT license. It generates XML sitemaps by crawling a site from a base URL, so URLs do not have to be added by hand. It can also build a sitemap manually from listed URLs with last modification dates.
The package can split crawled URLs into separate sitemap files, for example one for a blog and one for the rest of the site. The documentation states that this makes it easier to track indexing coverage per section in Google Search Console. The homepage text does not describe usage limits or supported platforms beyond Laravel.
Key features
- Generates a sitemap by crawling a site from a base URL
- Builds a sitemap manually from added URLs and modification dates
- Adds extra URLs to a sitemap generated by crawling
- Splits crawled URLs into separate sitemap files using a closure
- Writes an optional sitemap index referencing each generated sitemap file
- Adds Eloquent models to sitemaps by implementing the Sitemapable interface
- Open source under the MIT license
- Supports crawling, manual creation, and a combination of both
- Models can supply their own sitemap entries through the Sitemapable interface
laravel-sitemap at a glance
- Category
- Marketing & SEO › SEO & Web Analytics
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for SEO & Web Analytics

laravel-sitemap alternatives
Tools and sites you could use instead, ranked by how closely they match.
This Laravel package remembers a visitor's original referrer in session data, prioritizing UTM source and referring domain.
LaravelMetaTags provides tools for managing SEO metadata tags in Laravel projects.
This Laravel package redirects missing pages when URLs change during a website migration.
Add SEO features to Laravel applications with this developer library, which provides a set of tools for search optimization.
Aimeos provides an e-commerce framework for Laravel shops, marketplaces, and business-to-business applications.
Generate XML sitemaps and robots.txt files for static, pre-rendered and server-rendered Next.js sites.
Popular in SEO & Web Analytics
Well-known listings from the same topic.
laravel-sitemap FAQ
Can specific URLs be left out of the generated sitemaps?
Does the package create a sitemap index file automatically?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












