Search by

romanv / sitemap

romanv

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

Sitemap

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

This package is not auto-updated.

Last update: 2026-09-28 12:49:07 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