Downloads
Stars
Version
Laravel 5.2 Package to generate hand-write sitemap (only for small websites)
Sitemapper create a static sitemap in real time when requested via /sitemap.xml URI.
Obviously, this package is for small website only: if you have 100 pages, this strategy is wrong.
But for your personal website or for your blog, maybe you could give it a chance.
You have only two methods, for now, you can't make mistakes :)
You can then
->header('Content-Type', 'text/xml');```
<a class="anchor" name="behaviour"></a>
## Behaviour
The real time response works only if NOT EXISTS a physical sitemap.xml file in root.
If it exists, will be returned.
That's all folks!