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.8.1) :
composer require roumen/sitemap
or add the following to your composer.json
file :
"roumen/sitemap": "2.8.*"
"roumen/sitemap": "2.7.*"
"roumen/sitemap": "2.6.*"
If you are using laravel 5.5 or higher you can skip the service provider registration!
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.