kwaadpepper / sitemap-refresh
Create sitemap.xml
1.0.0
2024-01-18 21:12 UTC
Requires
- illuminate/support: ~10
- laravel/framework: ~10
- spatie/laravel-sitemap: ^6.3.1
Requires (Dev)
- slevomat/coding-standard: ^8.14
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
-
php artisan vendor:publish --tag=sitemap-refresh
-
Change configuration in
config/sitemap-refresh.php
-
You can test your configuration using
php artisan sitemap:refresh --dry-run
-
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.