PHPackages                             wish-cloud/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. wish-cloud/laravel-sitemap

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

wish-cloud/laravel-sitemap
==========================

sitemap generator package for Laravel.

v3.0.0(1y ago)5290MITPHPPHP ^7.3|^8.0|^8.1|^8.2|^8.3

Since Feb 17Pushed 1y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

**Sitemap Package for Laravel**
===============================

[](#sitemap-package-for-laravel)

*forked from [Laravelium/laravel-sitemap](https://github.com/Laravelium/laravel-sitemap)*

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

[](#installation)

You can install the package via composer:

```
composer require wish-cloud/laravel-sitemap
```

Then, publish needed assets (styles, views, config files):

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

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

Usage
-----

[](#usage)

Creating a new sitemap response is easy:

```
$sitemap = App::make('sitemap');
$sitemap->add('https://example.com/link1', Carbon::now(), '1.0', 'daily');
$sitemap->add('https://example.com/link2', '2022-02-17 13:26:37', '0.8', 'weekly');
return $sitemap->render('xml');
```

Create index files for large sitemaps:

```
$sitemap = App::make('sitemap');
$sitemap->addSitemap('https://example.com/sitemap-category.xml');
$sitemap->addSitemap('https://example.com/sitemap-product.xml');
$sitemap->addSitemap('https://example.com/sitemap-article.xml');
return $sitemap->render('sitemapindex');
```

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance45

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

432d ago

Major Versions

v1.0.1 → v2.0.02023-02-23

v2.0.0 → v3.0.02025-03-06

PHP version history (3 changes)v1.0.0PHP ^7.3|^8.0

v2.0.0PHP ^7.3|^8.0|^8.1

v3.0.0PHP ^7.3|^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/796b481a8b251a90fb280302e2f0cca08a49a52648d23aac1935f9e0bb709807?d=identicon)[wish-cloud](/maintainers/wish-cloud)

---

Top Contributors

[![wish-cloud](https://avatars.githubusercontent.com/u/62369484?v=4)](https://github.com/wish-cloud "wish-cloud (5 commits)")

---

Tags

phplaravelxmlgeneratorlaravel-sitemapSitemapgoogle-news

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ultrono/laravel-sitemap

Sitemap generator for Laravel 11, 12 and 13

36412.6k6](/packages/ultrono-laravel-sitemap)[rumenx/php-sitemap

Framework-agnostic Sitemap generator for PHP, Laravel, and Symfony.

1.3k15.1k1](/packages/rumenx-php-sitemap)

PHPackages © 2026

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