December 11, 2022・Originally published at https://laraveltuts.com/how-to-automatically-generate-an-xml-sitemap-in-laravel/・8 min read Should I create a new sitemap every time.

We are going to create a XML Sitemap for our posts using a spatie/laravel-sitemap package. Follow the below Step-by-Step Guide on how to automatically generate an XML Sitemap in Laravel Application.

This concludes our tutorial on How to Automatically Generate an XML Sitemap in Laravel.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners