workable-hz/render-sitemap-xml

There is no license information available for the latest version (dev-master) of this package.

dev-master 2022-03-23 09:37 UTC

This package is auto-updated.

Last update: 2024-03-23 13:50:29 UTC


README

This package will help render your website's sitemap xml

To use this package, please follow the steps below:

Step 1:

composer require workable-hz/render-sitemap-xml

Step 2:

php artisan vendor:publish --provider="SitemapRenderXML\SitemapRenderServiceProvider" 

Step 3:

php artisan config:cache

Step 4:

php artisan make:sitemap-xml

If you want to change module render on your website you just edit the config/sitemap_render.php

[
    "module_name"   => "module_name",
    "table_name"    => "table_name",
    'field_url_seo' => "field_url_seo",
    "file_name"     => "file_name"
]

NOTE: every single record need 1 field "check_sitemap" with value is 0 or 1