romanv/sitemap

There is no license information available for the latest version (v1.0.0) of this package.

Sitemap

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/romanv/sitemap

v1.0.0 2022-11-12 19:59 UTC

This package is not auto-updated.

Last update: 2025-12-22 09:09:45 UTC


README

This package can generate a sitemap.

You can create a sitemap manually:

use Sitemap\Sitemap;
$urls = [...]
$sitemap = new Sitemap($urls, 'csv');
$sitemap->writeToFile($path);

The generate a sitemap via a console command:

artisan sitemap:generate type path-to-file

Installation

First, install the package via composer:

composer require romanv/sitemap

Configuration

php artisan vendor:publish --provider="vroman\Sitemap\SitemapServiceProvider" --tag=sitemap