PHPackages                             codeinc/sitemap-middleware - 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. [API Development](/categories/api)
4. /
5. codeinc/sitemap-middleware

AbandonedArchivedLibrary[API Development](/categories/api)

codeinc/sitemap-middleware
==========================

A PSR-15 middleware to answer /sitemap.xml requests

1.1.0(8y ago)015MITPHPPHP &gt;=7.1

Since May 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/CodeIncHQ/SiteMapMiddleware)[ Packagist](https://packagist.org/packages/codeinc/sitemap-middleware)[ Docs](https://github.com/CodeIncHQ/SiteMapMiddleware)[ RSS](/packages/codeinc-sitemap-middleware/feed)WikiDiscussions master Synced 2w ago

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

SiteMap PSR-15 middleware
=========================

[](#sitemap-psr-15-middleware)

[`SiteMapMiddleware`](src/SiteMapMiddleware.php) is a [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware dedicated to answer `/sitemap.xml` requests. It uses [tackk/cartographer](https://github.com/tackk/cartographer) to generate the response in the [`sitemap.xml` format](https://www.sitemaps.org/protocol.html).

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

[](#installation)

This library is available through [Packagist](https://packagist.org/packages/codeinc/sitemap-middleware) and can be installed using [Composer](https://getcomposer.org/):

```
composer require codeinc/sitemap-middleware
```

💬 This library is extracted from the now deprecated [codeinc/psr15-middlewares](https://packagist.org/packages/codeinc/psr15-middlewares) package.

License
-------

[](#license)

The library is published under the MIT license (see [`LICENSE`](LICENSE) file).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2980d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce6d7fd91f537008e6af8eef5f5529e994cf74be8d78ee7b9d9ecac476ba1444?d=identicon)[joanfabregat](/maintainers/joanfabregat)

![](https://www.gravatar.com/avatar/8f72f949d7f70e400c02c225685f1934dec6219689f25edec38b4037df166d58?d=identicon)[codeinc](/maintainers/codeinc)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codeinc-sitemap-middleware/health.svg)

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.7k](/packages/cakephp-cakephp)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5733.3M42](/packages/thecodingmachine-graphqlite)[typo3/cms-core

TYPO3 CMS Core

3713.2M4.9k](/packages/typo3-cms-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

22260.2k](/packages/eliashaeussler-typo3-warming)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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