Skip to content
Sitemap module for Zend Framework 2
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src/Soflomo/Sitemap/Controller
view/soflomo/sitemap
LICENSE
Module.php
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php
composer.json

README.md

Soflomo\Sitemap

Soflomo\Sitemap is a simple sitemap generation module for Zend Framework 2. It provides a html version and XML version of the sitemap using Zend\Navigation.

Installation

Soflomo\Sitemap can be loaded via composer. Require soflomo/sitemap. The current version is tagged as 0.1.0, so you can use the constraint >=0.1.0,<0.2.0-dev. After the module is loaded, do not forget to enable it in your application.config.php under the module name Soflomo\Sitemap.

Usage

Visit /sitemap for the html version. The /sitemap/xml is the XML version for the sitemap. Soflomo\Sitemap uses the default navigation container. If you want to set another container to be rendered, inject this container in the navigation view helper prior to the dispatch of the Soflomo\Sitemap\Controller\SitemapController.

You can’t perform that action at this time.