laravel-sitemap package
A not so simple sitemap generator for Laravel 5.
Branch dev-master is for development and is UNSTABLE!
Run the following command and provide the latest stable version (e.g v2.7.2) :
composer require roumen/sitemap
or add the following to your composer.json
file :
"roumen/sitemap": "2.7.*"
If you are using laravel 5.5 or higher you can skip the service provider registration!
If you are using laravel 5.4 or lower register this service provider with Laravel :
'Roumen\Sitemap\SitemapServiceProvider',
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!
and more in the Wiki.