laravel-sitemap package
A not so simple sitemap generator for Laravel 5.
Latest supported version for Laravel 4 is 2.4.* (e.g v2.4.21)
Branch dev-master is for development and is UNSTABLE!
Run the following command and provide the latest stable version (e.g v2.5.9) :
composer require roumen/sitemap
or add the following to your composer.json
file :
"roumen/sitemap": "2.5.*"
Then register this service provider with Laravel :
'Roumen\Sitemap\SitemapServiceProvider',
Publish configuration file (OPTIONAL) :
php artisan vendor:publish
Note: This command will publish all package views to your resources/views/vendor/sitemap
directory, but they won't be updated after composer update
, so you should republish them after every update or delete the default ones and keep there only your custom views.
and more in the Wiki.