PHPackages                             vis/sitemap\_generator\_l5 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vis/sitemap\_generator\_l5

ActiveLibrary

vis/sitemap\_generator\_l5
==========================

Model based sitemap generator

1.2.5(8y ago)01.3k1MITPHP

Since Mar 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/KHlushchenko/sitemap_generator_l5)[ Packagist](https://packagist.org/packages/vis/sitemap_generator_l5)[ RSS](/packages/vis-sitemap-generator-l5/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (10)Used By (0)

Model based sitemap generator Generated Sitemap will be available at http(s)://yoursite.com/sitemap.xml

Execute

```
    composer require "vis/sitemap_generator_l5":"1.*"
```

Add SitemapGeneratorServiceProvider to ServiceProviders in config/app.php

```
   Vis\SitemapGenerator\SitemapGeneratorServiceProvider::class,
```

Publish sitemap config

```
    php artisan vendor:publish --provider="Vis\SitemapGenerator\SitemapGeneratorServiceProvider" --force
```

Add your models\\custom urls to config at app/config/sitemap-generator/sitemap.php

Option to enabled\\disable Sitemap generation, if disabled shows 404 error

```
    'is_enabled' => true,
```

Option to enabled\\disable multi lang links in sitemap

```
    'is_multi_language' => true,
```

Models Short example that will use default options

```
    'models' => [
        'Tree',
    ],
```

Full example of possible options

```
    'models' => [
        'Tree_1' => [
            //If this param is set model name will be taken from here rather then from array key
            //This allows to have multiple request to single model without overriding results
            'model' => "Tree",

            // Valid values are "always|hourly|daily|weekly|monthly|yearly|never"
            'changefreq' => "daily",

            // Valid values range from 0.0 to 1.0.
            'priority'   => 0.7,

            // Method that will be called upon model to get Url of entity
            // Default(if removed) - "getUrl" or set your method name
            'url_method' => "getUrl",

            // Optional property. Default(if removed) - "updated_at", set false to disable or set your field name
            'lastmod_field' => "updated_at",

            // Optional property. Default(if removed) - "is_active", set false to disable or set your field name
            'active_field'  => "is_active",

            // Optional property. Allows to specify query, can be removed if not required
            'additional_where' => [
                'template' => [
                    'sign'  => '!=',
                    'value' => 'main'
                ],
            ],
        ],
    ],
```

Custom links Short example that will use default options

```
'custom_links' => [
        '/',
    ],
```

Full example of possible options

```
    'custom_links' => [
        '/' => [
            //If this param is set url be taken from here rather then from array key
            'url' => "/",

            // Valid values are "always|hourly|daily|weekly|monthly|yearly|never"
            'changefreq' => "daily",

            // Valid values range from 0.0 to 1.0.
            'priority'   => 1,

            // Valid values is anything parsable by strtotime method
            'lastmod'    => "2017-02-20 13:32:09",
        ],
    ],
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~28 days

Recently: every ~52 days

Total

9

Last Release

3105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ccb895209ea7108142712514fcb896c4bd2d73e196343b566d15585a4d66136?d=identicon)[KGluschenko](/maintainers/KGluschenko)

---

Top Contributors

[![KHlushchenko](https://avatars.githubusercontent.com/u/6852568?v=4)](https://github.com/KHlushchenko "KHlushchenko (12 commits)")

### Embed Badge

![Health badge](/badges/vis-sitemap-generator-l5/health.svg)

```
[![Health](https://phpackages.com/badges/vis-sitemap-generator-l5/health.svg)](https://phpackages.com/packages/vis-sitemap-generator-l5)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
