PHPackages                             afatmustafa/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. afatmustafa/laravel-sitemap

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

afatmustafa/laravel-sitemap
===========================

Sitemap package for Laravel.

05PHP

Since Dec 24Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

**[ Sitemap](https://laravel.com) package**
===========================================

[](#-sitemap-package)

[![License](https://camo.githubusercontent.com/8d68bf6f21b0c8ab93caa9d988036136def8a414b95422b586e3b41433969934/68747470733a2f2f706f7365722e707567782e6f72672f616661746d7573746166612f6c61726176656c2d736974656d61702f6c6963656e7365)](https://packagist.org/packages/afatmustafa/laravel-sitemap) [![PHP tests](https://github.com//laravel-sitemap/workflows/PHP%20tests/badge.svg?branch=master)](https://github.com///laravel-sitemap/actions?query=workflow%3A%22PHP+tests%22) [![Maintainability](https://camo.githubusercontent.com/eec99d506a553a1516773ad3501251d7a457f9eabd1685e940ed02763c7c506a/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63376238633030373961646462313231373833362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github//laravel-sitemap/maintainability) [![Test Coverage](https://camo.githubusercontent.com/12a2d5a0f985dee923bf38b9ba1b2f5f763211cdb37866ff9c6bfed73886bd05/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63376238633030373961646462313231373833362f746573745f636f766572616765)](https://codeclimate.com/github//laravel-sitemap/test_coverage) [![Style Status](https://camo.githubusercontent.com/501893d8f6e9e37a313299c0cb17085f12674e2ca5dd040d000cd38032ad1598/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f31303339323034342f736869656c643f7374796c653d6e6f726d616c266272616e63683d6d6173746572)](https://github.styleci.io/repos/10392044) [![Latest Stable Version](https://camo.githubusercontent.com/0ce88ba4ed2a5a0334afecf67e54b8b68073302d99cf657786de71ebd1e3ab59/68747470733a2f2f706f7365722e707567782e6f72672f616661746d7573746166612f6c61726176656c2d736974656d61702f762f737461626c65)](https://packagist.org/packages/afatmustafa/laravel-sitemap) [![Total Downloads](https://camo.githubusercontent.com/c20731f78a29c0004d1f6d9e37b8263468bbeed457f00266cf47b9a5600684e6/68747470733a2f2f706f7365722e707567782e6f72672f616661746d7573746166612f6c61726176656c2d736974656d61702f646f776e6c6f616473)](https://packagist.org/packages/afatmustafa/laravel-sitemap)

- Sitemap generator for Laravel.\*

Notes
-----

[](#notes)

- Dev Branches are for development and are **UNSTABLE** (*use on your own risk*)!

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

[](#installation)

Run the following command and provide the latest stable version (e.g v8.\*) :

```
composer require afatmustafa/laravel-sitemap
```

*or add the following to your `composer.json` file :*

#### For Laravel 8

[](#for-laravel-8)

```
"afatmustafa/laravel-sitemap": "8.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "8.x-dev"
```

#### For Laravel 7

[](#for-laravel-7)

```
"afatmustafa/laravel-sitemap": "7.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "7.x-dev"
```

#### For Laravel 6

[](#for-laravel-6)

```
"afatmustafa/laravel-sitemap": "6.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "6.x-dev"
```

#### For Laravel 5.8

[](#for-laravel-58)

```
"afatmustafa/laravel-sitemap": "3.1.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "3.1.x-dev"
```

#### For Laravel 5.7

[](#for-laravel-57)

```
"afatmustafa/laravel-sitemap": "3.0.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "3.0.x-dev"
```

#### For Laravel 5.6

[](#for-laravel-56)

```
"afatmustafa/laravel-sitemap": "2.8.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "2.8.x-dev"
```

#### For Laravel 5.5

[](#for-laravel-55)

```
"afatmustafa/laravel-sitemap": "2.7.*"
```

(development branch)

```
"afatmustafa/laravel-sitemap": "2.7.x-dev"
```

*Publish needed assets (styles, views, config files) :*

```
php artisan vendor:publish --provider="\Sitemap\SitemapServiceProvider"
```

**Note:** *Composer won't update them after `composer update`, you'll need to do it manually!*

Examples
--------

[](#examples)

- [How to generate dynamic sitemap (with optional caching)](https://github.com//laravel-sitemap/wiki/Dynamic-sitemap)
- [How to generate BIG sitemaps (with more than 1M items)](https://github.com//laravel-sitemap/wiki/Sitemap-index)
- [How to generate sitemap to a file](https://github.com//laravel-sitemap/wiki/Generate-sitemap)
- [How to use multiple sitemaps with sitemap index](https://github.com//laravel-sitemap/wiki/Generate-BIG-sitemaps)

and more in the [Wiki](https://github.com//laravel-sitemap/wiki).

Contribution guidelines
-----------------------

[](#contribution-guidelines)

Before submiting new merge request or creating new issue, please read [contribution guidelines](https://gitlab.com/afatmustafa/laravel-sitemap/blob/master/CONTRIBUTING.md).

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/59372593?v=4)[Mustafa Afat](/maintainers/afatmustafa)[@afatmustafa](https://github.com/afatmustafa)

---

Top Contributors

[![afatmustafa](https://avatars.githubusercontent.com/u/59372593?v=4)](https://github.com/afatmustafa "afatmustafa (5 commits)")

### Embed Badge

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

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

###  Alternatives

[mokhosh/muddle

Obfuscate emails and strings in PHP and Laravel

7610.6k](/packages/mokhosh-muddle)

PHPackages © 2026

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