PHP code example of skeeks / cms-export-sitemap
1. Go to this page and download the library: Download skeeks/cms-export-sitemap library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
skeeks / cms-export-sitemap example snippets
'components' =>
[
'cmsExport' => [
'handlers' =>
[
'skeeks\cms\exportSitemap\ExportSitemapHandler' =>
[
'class' => 'skeeks\cms\exportSitemap\ExportSitemapHandler'
]
]
],
'i18n' => [
'translations' =>
[
'skeeks/exportSitemap' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/exportSitemap/messages',
'fileMap' => [
'skeeks/exportSitemap' => 'main.php',
],
]
]
]
]
php composer.phar