r94ever / sitemap
Sitemap package for Laravel.
Installs: 18 005
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
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
- dev-master
- 9.x-dev
- v9.0.0
- 8.x-dev
- 8.0.1
- 7.x-dev
- v7.0.1
- 6.0.x-dev
- v6.0.1
- 3.1.x-dev
- v3.1.1
- 3.0.x-dev
- v3.0.1
- 2.8.x-dev
- v2.8.3
- v2.8.2
- v2.8.1
- 2.7.x-dev
- v2.7.3
- v2.7.2
- 2.6.x-dev
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.5.8
- v2.5.6
- v2.5.5
- v2.5.3
- v2.5.2
- v2.4.20
- v2.4.19
- v2.4.16
- v2.4.15
- v2.4.11
- dev-klimov.paul/Sitemap-181-use-contracts
- dev-archive
This package is auto-updated.
Last update: 2025-09-30 14:53:48 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.