romanv / sitemap
Sitemap
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/romanv/sitemap
Requires
- php: >=7.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ~3.4.2|~3.5.0|~3.6.0|~3.7.0
- phpunit/phpunit: ^5.7|6.2|^7.0
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