A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes
A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes.
The package register and schedule an Artisan command to refresh the sitemap.
You can install the package via composer:
composer require retinens/laravel-sitemap-command
Don't forget to add the sitemap.xml file in your gitignore
/public/sitemap.xml
You can publish the config file with:
php artisan vendor:publish --tag="laravel-sitemap-command-config"
This is the contents of the published config file:
return [
'website_url' => env('APP_URL')
];
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.