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

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

rapidez/sitemap
===============

Rapidez sitemap index through Eventy filters

5.0.0(5mo ago)25.9k↓43.3%11GPL-3.0-or-laterPHPPHP ^8.1CI passing

Since Nov 5Pushed 5mo ago5 watchersCompare

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

READMEChangelog (6)Dependencies (7)Versions (8)Used By (1)

Rapidez sitemap
===============

[](#rapidez-sitemap)

Rapidez sitemap index through Eventy filters

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

[](#installation)

```
composer require rapidez/sitemap

```

Configuration
-------------

[](#configuration)

You can publish the configuration file with:

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

This will create a `config/rapidez-sitemap.php` file where you can configure:

- `disk`: The Laravel filesystem disk to use (defaults to 'public')
- `path`: The path within the disk where sitemaps will be stored (defaults to root)

Make sure the specified disk is properly configured in your application's `config/filesystems.php`.

Views
-----

[](#views)

You can publish the views with:

```
php artisan vendor:publish --tag=rapidez-sitemap-views

```

Sitemap Generation
------------------

[](#sitemap-generation)

To generate the sitemap manually, use:

```
php artisan rapidez:sitemap:generate
```

This command will generate `sitemap.xml` for the default store and `sitemap_{store_id}.xml` for additional stores in your configured storage location.

If you'd like to schedule the sitemap generation you can add the `rapidez:sitemap:generate` command in `routes/console.php`, for more information see [Task Scheduling](https://laravel.com/docs/11.x/scheduling)

```
Schedule::command('rapidez:sitemap:generate')->twiceDaily(0, 12);
```

Hooking into the Generation Action
----------------------------------

[](#hooking-into-the-generation-action)

When the `rapidez:sitemap:generate` command runs, an Eventy action `rapidez.sitemap.generate` is triggered.

You can hook into this generation process by adding an action in the `boot` method of your service provider:

```
Eventy::addAction('rapidez.sitemap.generate', fn() => DoMagicHere(), 20, 1);
```

Adding Additional Sitemap Indexes with Eventy
---------------------------------------------

[](#adding-additional-sitemap-indexes-with-eventy)

If you have additional indexes, such as CMS pages or other custom routes, you can dynamically add them to your sitemap index based on the Store ID using the `rapidez.site.{storeId}` filter provided by Eventy.

To do this, simply add the following code to the appropriate place in your application (e.g., in a service provider or a dedicated sitemap configuration file):

```
use TorMorten\Eventy\Facades\Eventy;

Eventy::addFilter('rapidez.sitemap.{storeId}', function ($sitemaps) {
    // Add your custom sitemap URL here
    $sitemaps[] = [
        'url' => 'your-custom-sitemap.xml',
        'lastmod' => now()->toDateString(),
    ];

    return $sitemaps;
}, 20, 1);
```

License
-------

[](#license)

GNU General Public License v3. Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance70

Regular maintenance activity

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~64 days

Recently: every ~87 days

Total

7

Last Release

176d ago

Major Versions

1.1.1 → 3.0.02025-01-22

3.x-dev → 4.0.02025-06-05

4.0.0 → 5.0.02025-11-24

PHP version history (2 changes)1.0.0PHP ^8.1|^8.2

3.x-devPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72222911?v=4)[Rapidez](/maintainers/rapidez)[@rapidez](https://github.com/rapidez)

---

Top Contributors

[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (9 commits)")[![kevinmeijer97](https://avatars.githubusercontent.com/u/9716909?v=4)](https://github.com/kevinmeijer97 "kevinmeijer97 (4 commits)")[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (2 commits)")

---

Tags

Sitemaprapidez

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[samdark/sitemap

Sitemap and sitemap index builder

5491.4M37](/packages/samdark-sitemap)[novactive/ezseobundle

Novactive eZ SEO Bundle is an Ibexa Platform bundle for SEO simplications. metas, sitemaps, robots.txt, etc.

26252.0k2](/packages/novactive-ezseobundle)[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[kphoen/sitemap-bundle

Provides a way to create/generate a sitemap using Doctrine, etc.

2444.8k](/packages/kphoen-sitemap-bundle)[mitydigital/sitemapamic

An XML sitemap generator for Statamic that includes all collections and related taxonomy pages.

1485.2k](/packages/mitydigital-sitemapamic)[devrabiul/laravel-seo-manager

Laravel SEO Manager is an SEO tool that improves SEO by adding recommended meta tags.

404.8k](/packages/devrabiul-laravel-seo-manager)

PHPackages © 2026

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