r94ever / sitemap
Sitemap package for Laravel.
Installs: 18 007
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/r94ever/sitemap
Requires
- php: ^8.2
- ext-zlib: *
- laravel/framework: ^12.0
Requires (Dev)
- orchestra/testbench-core: ^10.1
- php-coveralls/php-coveralls: ^2.7
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2025-10-30 15:00:54 UTC
README
Sitemap generator for Laravel.
Installation
Run the following command and provide the latest stable version (e.g v8.*) :
composer require r94ever/sitemap```
| Laravel Version | Sitemap Version |
|---|---|
| 12.x | 9.x |
| 8.x | 9.x | 10.x | 11.x | 8.x |
| 7.x | 7.x |
| 6.x | 6.x |
| 5.8 | 3.1.x |
| 5.7 | 3.0.x |
| 5.6 | 2.8.x |
| 5.5 | 2.7.x |
Publish needed assets (styles, views, config files) :
php artisan vendor:publish --provider="R94ever\Sitemap\SitemapServiceProvider"
Note: Composer won't update them after composer update, you'll need to do it manually!
Examples
- How to generate dynamic sitemap (with optional caching)
- How to generate BIG sitemaps (with more than 1M items)
- How to generate sitemap to a file
- How to use multiple sitemaps with sitemap index
and more in the Wiki.
License
This package is open-sourced software licensed under the MIT license.