PHPackages                             kwaadpepper/sitemap-refresh - 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. kwaadpepper/sitemap-refresh

ActiveLibrary

kwaadpepper/sitemap-refresh
===========================

Create sitemap.xml

2.2.1(4mo ago)01.2kMITPHPCI passing

Since Jan 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Kwaadpepper/sitemap-refresh)[ Packagist](https://packagist.org/packages/kwaadpepper/sitemap-refresh)[ RSS](/packages/kwaadpepper-sitemap-refresh/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (7)Used By (0)

Refresh Sitemap
===============

[](#refresh-sitemap)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cf05ad0458a81d2d7e3af8ff5688c2335cfe4e28b5cd524d566554f2cf8d6cbb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b776161647065707065722f736974656d61702d726566726573683f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kwaadpepper/sitemap-refresh)[![Total Downloads](https://camo.githubusercontent.com/3c82dab32087117319fa1797ef21543564ea4ee3e00fdf1f076b4922e2332468/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b776161647065707065722f736974656d61702d726566726573683f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kwaadpepper/sitemap-refresh)[![CI](https://camo.githubusercontent.com/144a6b37695679175e55d1f113369905c6ce6aaeef2773b641a48b33615983ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4b776161647065707065722f736974656d61702d726566726573682f63692e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d4349)](https://github.com/Kwaadpepper/sitemap-refresh/actions/workflows/ci.yml)

Creates sitemap.xml and refresh using a config file

Installation
------------

[](#installation)

Via Composer

```
composer require kwaadpepper/sitemap-refresh
npm i puppeteer # Pour exec en JS
```

Usage
-----

[](#usage)

1. `php artisan vendor:publish --tag=sitemap-refresh`
2. Change configuration in `config/sitemap-refresh.php`
3. You can test your configuration using `php artisan sitemap:refresh --dry-run`
4. If you wish to complete the sitemap (like if random models are displayed) run `php artisan sitemap:install`, then add urls in *app/lib/CompleteSitemapWith*

### URL generation notes

[](#url-generation-notes)

- Sitemap entries are normalized before being stored, so equivalent URLs like `https://example.com` and `https://example.com/` are exported only once.
- Default ports are removed during normalization and hosts are canonicalized to lowercase.
- Query strings are still ignored by the package unless you explicitly index them yourself.
- During sitemap generation, `app.url` is temporarily forced into Laravel's URL generator. This ensures URLs produced from `route()`, `url()` or custom `completeWith` callbacks stay on the same canonical domain as the crawler.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance83

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Recently: every ~152 days

Total

6

Last Release

134d ago

Major Versions

1.0.0 → 2.0.02024-05-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d6fe69e010efceae2bd9a92eb6463139fff339c94c545b6b7b1210a00d963e4?d=identicon)[Kwaadpepper](/maintainers/Kwaadpepper)

---

Top Contributors

[![Kwaadpepper](https://avatars.githubusercontent.com/u/6019313?v=4)](https://github.com/Kwaadpepper "Kwaadpepper (20 commits)")

---

Tags

laravelsitemapsitemap-buildersitemap-generatorlaravelSitemap

###  Code Quality

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/kwaadpepper-sitemap-refresh/health.svg)

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

###  Alternatives

[ultrono/laravel-sitemap

Sitemap generator for Laravel 11, 12 and 13

36412.6k6](/packages/ultrono-laravel-sitemap)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)

PHPackages © 2026

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