In this article we will learn how to generate sitemap with larvel via an easy and automate process so lets get started
A simple sitemap generator for Laravel. is best package to make his procesess easy and automate tested with laravel 5 lets find out how to use it first you have to install it via command linde

Installation

Run the following command and provide the latest stable version (e.g v2.5.3) :

composer require roumen/sitemap

or add the following to your composer.json file :

"roumen/sitemap": "2.5.*"

Then register this service provider with Laravel :

'RoumenSitemapSitemapServiceProvider',

Publish configuration file (OPTIONAL) :

php artisan vendor:publish