laravel-sitemap package
A simple sitemap generator for Laravel 4.
Run the following command and provide the latest stable version (e.g v2.4.15) :
composer require roumen/sitemap
or add the following to your composer.json
file :
"roumen/sitemap": "~2.4"
Then register this service provider with Laravel :
'Roumen\Sitemap\SitemapServiceProvider',
Publish configuration file (OPTIONAL) :
php artisan config:publish roumen/sitemap
How to generate dynamic sitemap (with optional caching)
How to use multiple sitemaps with sitemap index
and more in the Wiki