kwaadpepper/sitemap-refresh

1.0.0 2024-01-18 21:12 UTC

This package is auto-updated.

Last update: 2024-04-18 21:53:55 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.