Download the PHP package sergeybruhin/html-sitemap without Composer
On this page you can find all versions of the php package sergeybruhin/html-sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sergeybruhin/html-sitemap
More information about sergeybruhin/html-sitemap
Files in sergeybruhin/html-sitemap
Package html-sitemap
Short Description Laravel Html Sitemap Package
License MIT
Homepage https://github.com/sergeybruhin/html-sitemap
Informations about the package html-sitemap
Laravel Html Sitemap
Basic and simple package to help you generate html sitemap inside your blade layout.
Installation
You can install the package via composer:
Publish Css File
Compose Sitemap in Controller
In controller do whatever you want just don't forget to pass $htmlSitemap to view. Cache this in a way you need.
Or Compose it inside service class like this and pass resulted model to controller
Render Sitemap
Feel free to render sitemap in place you prefer.
Widget will be rendered if variable $htmlSitemap is set.
Register route for your Controller
No restrictions on url or route name, do there what you want.
ToDo
- [ ] Add ability to change package widget template
- [ ] Add ability to cache sitemap widget
- [ ] Add ability to show sitemap as a standalone html page
Testing (Not yet 💁♂️)
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Sergey Bruhin
- All Contributors
License
The MIT License (MIT). Please see License File for more information.