PHPackages                             alt-design/alt-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. alt-design/alt-sitemap

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

alt-design/alt-sitemap
======================

Alt Sitemap addon, create a sitemap from Statamic entries

v1.4.3(2mo ago)1223.5k↓55%7[5 issues](https://github.com/alt-design/Alt-Sitemap-Addon/issues)[2 PRs](https://github.com/alt-design/Alt-Sitemap-Addon/pulls)MITPHPPHP ^8.1CI failing

Since Nov 6Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/alt-design/Alt-Sitemap-Addon)[ Packagist](https://packagist.org/packages/alt-design/alt-sitemap)[ RSS](/packages/alt-design-alt-sitemap/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (30)Used By (0)

Alt Sitemap
===========

[](#alt-sitemap)

> Alt Sitemap is a Statamic addon for creating sitemaps to help search engines discover URLs on your site

Features
--------

[](#features)

- Create basic sitemaps detailing and of all entries in your Statamic site.
- Set priority of entire collections/taxonomies
- Set priority of specific entries/terms
- Exclude certain entries/terms from the sitemap.
- Exclude entire collections/taxonomies from the sitemap.

Requirements
------------

[](#requirements)

- **PHP** 8.1+ (PHP 8.3+ when using Statamic 6)
- **Statamic** 4.x, 5.x, or 6.x

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require alt-design/alt-sitemap
```

How to Use
----------

[](#how-to-use)

After installation, access your sitemap at /sitemap.xml

- Set priorities for entire collections/taxonomies in CP &gt; Tools &gt; Alt Sitemap.
- Exclude entire collections/taxonomies in CP &gt; Tools &gt; Alt Sitemap.
- Set entry/term priorities in the entry/term under the Alt Sitemap tab. Entry priorities will override collection/taxonomy priorities.
- Priorities are set as 0.5 by default.
- Exclude entries/terms from the sitemap in the entry under the Alt Sitemap tab.
- is set to the last updated date of the entry/term.

Manual Entries
--------------

[](#manual-entries)

Add a single, or multiple items to the sitemap, using code similar to the following in a service provider's boot() (e.g. AppServiceProvider) method.

Using registerItem() to register a single item.

```
$this->callAfterResolving(
    AltSitemapController::class,
    function ($altSitemapController) {
        $altSitemapController->registerItem(
            [
                '/url-1',
            ]
        );
    }
);

```

Using registerItems() to register multiple items at once.

```
$this->callAfterResolving(
     AltSitemapController::class,
     function ($altSitemapController) {
         $altSitemapController->registerItems(
             [
                 [
                     '/url-1',
                 ],
                 [
                     '/url-2',
                     Carbon::create(2024,10,23,12,20,0, 'UTC'),
                 ],
                 [
                     '/url-3',
                     Carbon::create(2024,10,23,12,20,0, 'UTC'),
                     0.8
                 ],
             ]
         );
     }
 );

```

Questions etc
-------------

[](#questions-etc)

Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.

### Starter Kits

[](#starter-kits)

- [Alt Starter Kit](https://statamic.com/starter-kits/alt-design/alt-starter-kit)

### Addons

[](#addons)

- [Alt Redirect Addon](https://github.com/alt-design/Alt-Redirect-Addon)
- [Alt Sitemap Addon](https://github.com/alt-design/Alt-Sitemap-Addon)
- [Alt Akismet Addon](https://github.com/alt-design/Alt-Akismet-Addon)
- [Alt Password Protect Addon](https://github.com/alt-design/Alt-Password-Protect-Addon)
- [Alt Cookies Addon](https://github.com/alt-design/Alt-Cookies-Addon)
- [Alt Inbound Addon](https://github.com/alt-design/Alt-Inbound-Addon)
- [Alt Google 2FA Addon](https://github.com/alt-design/Alt-Google-2fa-Addon)

Postcardware
------------

[](#postcardware)

Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!

Alt Design
St Helens House
Derby
DE1 3EE
UK

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance77

Regular maintenance activity

Popularity37

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

20

Last Release

75d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5221940?v=4)[Alt Design](/maintainers/alt-design)[@alt-design](https://github.com/alt-design)

---

Top Contributors

[![Alt-Ben](https://avatars.githubusercontent.com/u/12431318?v=4)](https://github.com/Alt-Ben "Alt-Ben (25 commits)")[![nat-alt](https://avatars.githubusercontent.com/u/100426312?v=4)](https://github.com/nat-alt "nat-alt (11 commits)")[![bagwaa](https://avatars.githubusercontent.com/u/825428?v=4)](https://github.com/bagwaa "bagwaa (6 commits)")[![benmAltDesign](https://avatars.githubusercontent.com/u/149595159?v=4)](https://github.com/benmAltDesign "benmAltDesign (6 commits)")[![Alt-Charlie](https://avatars.githubusercontent.com/u/260397567?v=4)](https://github.com/Alt-Charlie "Alt-Charlie (6 commits)")[![leewillis77](https://avatars.githubusercontent.com/u/1097338?v=4)](https://github.com/leewillis77 "leewillis77 (3 commits)")[![arnevanhoorn](https://avatars.githubusercontent.com/u/3458023?v=4)](https://github.com/arnevanhoorn "arnevanhoorn (1 commits)")[![conor-timmis](https://avatars.githubusercontent.com/u/55244147?v=4)](https://github.com/conor-timmis "conor-timmis (1 commits)")[![ana-altdesign](https://avatars.githubusercontent.com/u/211652354?v=4)](https://github.com/ana-altdesign "ana-altdesign (1 commits)")[![YarnoLapin](https://avatars.githubusercontent.com/u/74971756?v=4)](https://github.com/YarnoLapin "YarnoLapin (1 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alt-design-alt-sitemap/health.svg)

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

###  Alternatives

[statamic/seo-pro

68516.6k](/packages/statamic-seo-pro)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[rias/statamic-redirect

29335.6k](/packages/rias-statamic-redirect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)[jacksleight/statamic-bard-texstyle

18195.4k](/packages/jacksleight-statamic-bard-texstyle)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23111.5k15](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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