tohtamysh / laravel-sitemaps
Sitemaps for Laravel 5
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.0.4
2017-09-10 14:18 UTC
Requires
- php: >=7.0.0
- ext-mbstring: *
- ext-xml: *
- illuminate/support: 5.*
- nesbot/carbon: ~1.21
README
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();