PHPackages                             lopatin96/laravel-sitemap - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lopatin96/laravel-sitemap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lopatin96/laravel-sitemap
=========================

Laravel sitemap

1.0.8(1y ago)07.6kMITPHPPHP &gt;=8.0

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lopatin96/laravel-sitemap)[ Packagist](https://packagist.org/packages/lopatin96/laravel-sitemap)[ RSS](/packages/lopatin96-laravel-sitemap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

Install
=======

[](#install)

### Publish config

[](#publish-config)

```
php artisan vendor:publish --tag="laravel-sitemap-config"
```

and specify your sitemap settings in `config/sitemap.php`

### Link to sitemap

[](#link-to-sitemap)

Your sitemap.xml file is under http:://127.0.0.1/sitemap.xml`

Publishing
==========

[](#publishing)

### Config

[](#config)

```
php artisan vendor:publish --tag="laravel-sitemap-config"
```

Custom pages
============

[](#custom-pages)

Set custom\_pages to true in config/sitemap.php and add a class to your project:

```
namespace App\Services\SitemapCustomPages;

use App\Models\Item;

class SitemapCustomPages extends \Atin\LaravelSitemap\Services\SitemapCustomPages
{
    public function addPages(): void
    {
        Item::get()->each(function ($item) {
            $this->pages->push([
                'url' => url("/offers/$item->slug"),
                'last_modified' => $item->updated_at,
            ]);
        });
    }
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance44

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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 ~81 days

Recently: every ~23 days

Total

9

Last Release

437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ed7ade2d44e2f66eedf7dec7136ca591145f77d8192bdd789e04797c575d0f3?d=identicon)[Vladyslav Lopatin](/maintainers/Vladyslav%20Lopatin)

---

Top Contributors

[![lopatin96](https://avatars.githubusercontent.com/u/18104593?v=4)](https://github.com/lopatin96 "lopatin96 (13 commits)")

### Embed Badge

![Health badge](/badges/lopatin96-laravel-sitemap/health.svg)

```
[![Health](https://phpackages.com/badges/lopatin96-laravel-sitemap/health.svg)](https://phpackages.com/packages/lopatin96-laravel-sitemap)
```

###  Alternatives

[elaniin/findable

An SEO add-on for Statamic.

131.4k](/packages/elaniin-findable)

PHPackages © 2026

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