SOHELAHMED7 / luya-module-sitemap

sitemap.xml module for LUYA CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LUYA Logo

LUYA sitemap.xml Module

LUYA

The LUYA sitemap.xml module provides sitemap.xml support for SEO.

Currently it only generates sitemap entries for pages created by the CMS module.

Warning: Code is still in experimental state, so use with care!

Installation

For the installation of modules Composer is required.

composer require cebe/luya-module-sitemap:~0.9.0@alpha

Configuration

Add the frontend module of the sitemap module to your configuration modules section:

return [
    'modules' => [
        // ...
        'sitemap' => cebe\luya\sitemap\Module::class,
        // ...
    ],
];

Please note that the module name sitemap is required and should not be changed!

Testing

In order to run the unit tests install sqlite

sudo apt-get install php-sqlite3

and run the tests

./vendor/bin/phpunit tests/

About

sitemap.xml module for LUYA CMS

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 99.4%Language:Makefile 0.6%