PHPackages                             kalley/sitemap-plus - 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. kalley/sitemap-plus

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

kalley/sitemap-plus
===================

Sitemap generator for Laravel. Includes sitemap extensions

0251PHP

Since Sep 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/kalley/sitemap-plus)[ Packagist](https://packagist.org/packages/kalley/sitemap-plus)[ RSS](/packages/kalley-sitemap-plus/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sitemap - plus extensions
=========================

[](#sitemap---plus-extensions)

This package builds XML and text sitemaps. Sitemap indexes are still in the works, but are currently not implemented.

Package Installation
--------------------

[](#package-installation)

Add the following line to your composer.json file:

```
"kalley/sitemap-plus": "dev-master"
```

or run `composer require kalley/sitemap-plus:dev-master` from the command line

Add this line of code to the `providers` array located in your `app/config/app.php` file:

```
'Kalley\SitemapPlus\SitemapPlusServiceProvider',
```

### Configuration

[](#configuration)

coming soon...

Example
-------

[](#example)

```
Route::get('sitemap{ext?}', function($ext = '.xml') {
  return App::make('sitemap-plus')
    ->addUrl(URL::to('/'), '2014-09-09', null, '1.0', function($url) {
      $url->isMobile(true)
        ->addVideo('http://thumbnail', 'Sample video', '', null, 'http://playerloc', function($video) {
          $video->family_friendly = 'yes';
          $video->addPrice('20.00', 'USD')
            ->addPrice('25.00', 'EUR', function($price) {
              $price->resolution = 'HD';
            });
        })
        ->addImage('http://location');
    })
    ->addUrl(URL::to('about'))
    ->render($ext);
})
  ->where(['ext' => '\.(txt|xml)']);
```

For full API, see the wiki

Support
-------

[](#support)

Bugs and feature request are tracked on [GitHub](https://github.com/kalley/sitemap-plus/issues)

License
-------

[](#license)

This package is released under the MIT License.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://www.gravatar.com/avatar/fc4dd05bff094bcd50619445c563e4d9d8e9b733880944cb9651bbc2ac26391d?d=identicon)[kalley](/maintainers/kalley)

### Embed Badge

![Health badge](/badges/kalley-sitemap-plus/health.svg)

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

PHPackages © 2026

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