ezitisitis / laravel-sitemap-generator
Fund package maintenance!
ezitisitis
Buy Me A Coffee
Installs: 1 240
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=8.1
- spatie/laravel-package-tools: ^1.5
- spatie/laravel-sitemap: ^6.3
This package is auto-updated.
Last update: 2024-11-07 13:49:50 UTC
README
In most cases sitemap generation command is copy-pasted between projects, so here it is just packed.
Installation
composer require ezitisitis/laravel-sitemap-generator
Usage
Use as Artisan command:
php artisan sitemap:generate
or set it in to App\Console\Kernel
:
protected function schedule(Schedule $schedule): void { $schedule->command('sitemap:generate')->daily(); }