kwaadpepper/sitemap-refresh

2.1.0 2025-03-02 07:28 UTC

This package is auto-updated.

Last update: 2025-03-30 07:37:57 UTC


README

Creates sitemap.xml and refresh using a config file

Installation

Via Composer

composer require kwaadpepper/sitemap-refresh
npm i puppeteer # Pour exec en JS

Usage

  1. php artisan vendor:publish --tag=sitemap-refresh

  2. Change configuration in config/sitemap-refresh.php

  3. You can test your configuration using php artisan sitemap:refresh --dry-run

  4. If you wish to complete the sitemap (like if random models are displayed) run php artisan sitemap:install, then add urls in app/lib/CompleteSitemapWith

Change log

Please see the changelog for more information on what has changed recently.

License

MIT. Please see the license file for more information.