kwaadpepper / sitemap-refresh
Create sitemap.xml
2.0.1
2024-12-21 14:35 UTC
Requires
- illuminate/support: ~11
- laravel/framework: ~11
- spatie/laravel-sitemap: ^7.3.0
Requires (Dev)
- larastan/larastan: ^2.0
- orchestra/testbench: ^9.0
- slevomat/coding-standard: ^8.15
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.