retinens / laravel-sitemap-command
A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes
Fund package maintenance!
retinens
Installs: 3 400
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- spatie/laravel-package-tools: ^1.9.2
- spatie/laravel-sitemap: ^6.0
Requires (Dev)
- nunomaduro/collision: ^5.10
- nunomaduro/larastan: ^1.0
- orchestra/testbench: ^6.22
- pestphp/pest: ^1.10
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.4
- spatie/laravel-ray: ^1.26
README
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.
Installation
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') ];
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.