laravel-sitemap package
A not so simple sitemap generator for Laravel 5.
Notes
Branch dev-master is for development and is UNSTABLE!
Installation
Run the following command and provide the latest stable version (e.g v2.6.4) :
composer require roumen/sitemap
or add the following to your composer.json
file :
"roumen/sitemap": "2.6.*"
Then register this service provider with Laravel :
'Roumen\Sitemap\SitemapServiceProvider',
for Laravel 5.2/5.3 service provider should be :
Roumen\Sitemap\SitemapServiceProvider::class,
Publish needed assets (styles, views, config files) :
php artisan vendor:publish --provider="Roumen\Sitemap\SitemapServiceProvider"
Note: Composer won't update them after composer update
, you'll need to do it manually!
Examples
and more in the Wiki.