tohtamysh/laravel-sitemaps

Sitemaps for Laravel 5

v1.0.4 2017-09-10 14:18 UTC

This package is auto-updated.

Last update: 2020-04-20 11:30:18 UTC


README

Latest Stable Version License

Installation

run composer
composer require tohtamysh/laravel-sitemaps
add service provider

Register the Service Provider by adding it to your project's providers array in app.php

'providers' => array(
    Tohtamysh\Sitemaps\SitemapsServiceProvider::class,
);
add alias
'Sitemaps' => Tohtamysh\Sitemaps\SitemapsFacade::class,

Use

$map = new Sitemaps();

$map->add();
$map->add();

$map->make();