An open API service indexing awesome lists of open source software.

https://github.com/ezitisitis/laravel-sitemap-generator

Command to generate sitemap
https://github.com/ezitisitis/laravel-sitemap-generator

Last synced: about 1 year ago
JSON representation

Command to generate sitemap

Awesome Lists containing this project

README

          

# Laravel Sitemap Generator

In most cases sitemap generation command is copy-pasted between projects, so
here it is just packed.

## Installation

```bash
composer require ezitisitis/laravel-sitemap-generator
```

## Usage

Use as Artisan command:

```bash
php artisan sitemap:generate
```

or set it in to `App\Console\Kernel`:

```php
protected function schedule(Schedule $schedule): void
{
$schedule->command('sitemap:generate')->daily();
}
```

## Credits

- [Marks Bogdanovs](https://www.ezitisitis.com)