ezitisitis/laravel-sitemap-generator

1.0.0 2023-10-13 12:57 UTC

This package is auto-updated.

Last update: 2024-12-07 13:59:56 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();
}

Credits