PHPackages                             bringyourownideas/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bringyourownideas/laravel-sitemap

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

bringyourownideas/laravel-sitemap
=================================

A simple website crawler &amp; sitemap generator without a headless browser for Laravel 5.8+

3.0.0(3y ago)97.9k4[5 issues](https://github.com/bringyourownideas/laravel-sitemap/issues)[1 PRs](https://github.com/bringyourownideas/laravel-sitemap/pulls)MITPHPPHP ^7.3|^8.0

Since Mar 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bringyourownideas/laravel-sitemap)[ Packagist](https://packagist.org/packages/bringyourownideas/laravel-sitemap)[ Docs](https://bringyourownideas.com/blog/simple-laravel-sitemap-generator)[ Fund](https://www.buymeacoffee.com/spekulatius)[ GitHub Sponsors](https://github.com/spekulatius)[ RSS](/packages/bringyourownideas-laravel-sitemap/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (6)Versions (22)Used By (0)

[Laravel Sitemap Generator](https://github.com/bringyourownideas/laravel-sitemap)
=================================================================================

[](#laravel-sitemap-generator)

[![Latest Stable Version](https://camo.githubusercontent.com/11d8389ae0b5929c15c35d9ba976f0791aa2fa5f2af6fd3f0c9553b35e095ffa/68747470733a2f2f706f7365722e707567782e6f72672f6272696e67796f75726f776e69646561732f6c61726176656c2d736974656d61702f76657273696f6e2e737667)](https://github.com/bringyourownideas/laravel-sitemap/releases) [![Latest Unstable Version](https://camo.githubusercontent.com/b9e0ead2271b2198c572d74f1d0f94b21775ed680c38f8adbd0ca09927dc98d4/68747470733a2f2f706f7365722e707567782e6f72672f6272696e67796f75726f776e69646561732f6c61726176656c2d736974656d61702f762f756e737461626c652e737667)](https://packagist.org/packages/bringyourownideas/laravel-sitemap) [![Total Downloads](https://camo.githubusercontent.com/1ccae89cddc33761bb32a5ec9ac4c6997aa99910e8473447f3258c26734fa2dc/68747470733a2f2f706f7365722e707567782e6f72672f6272696e67796f75726f776e69646561732f6c61726176656c2d736974656d61702f646f776e6c6f6164732e737667)](https://packagist.org/packages/bringyourownideas/laravel-sitemap) [![License](https://camo.githubusercontent.com/4bb25b9d844e0861f4b700152518fa72d233b0c79a373fc891b89fa6b1786712/68747470733a2f2f706f7365722e707567782e6f72672f6272696e67796f75726f776e69646561732f6c61726176656c2d736974656d61702f6c6963656e73652e737667)](https://github.com/bringyourownideas/laravel-sitemap/blob/master/LICENSE)

A simple website crawler using [php-spider](https://github.com/mvdbos/php-spider) and SimpleXMLElement to generate a sitemap.xml-file. The file will be stored in the `public/`-directory. It is commonly used with the [SEO-friendly CommonMark Blog Package](https://github.com/spekulatius/laravel-commonmark-blog) at [bring your own ideas](https://bringyourownideas.com).

The sitemap generator is using the meta tag `article:modified_time` to identify the last modification. `Noindex` in robots meta-tag will be considered and the page will be left out. If a canoncial URL is set in the document, this one will be used instead. Priorities are guessed based on the depth of the page in the website.

Why a Sitemap.xml?
------------------

[](#why-a-sitemapxml)

Sitemaps are crawled by several search engines in the aim to identify changed pages on a website quicker and reduce crawling effort. While a sitemap technically isn't required, it can greatly support your efforts to [rank higher](https://github.com/Awesome-SEO).

Support
-------

[](#support)

This package supports Laravel 6-9.

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

[](#installation)

The package is managed using composer. You can install it using:

```
composer require bringyourownideas/laravel-sitemap
```

This ensures you receiving later updates automatically. Alternatively, you can install the package manually (not recommended) using the download functionality on GitHub.

Usage
-----

[](#usage)

The package registers a artisan command called `sitemap:generate`. This triggers a crawl of your site and writing out of the sitemap. For convenience, you can add this to your deployment steps.

### Regular Updates of the sitemap

[](#regular-updates-of-the-sitemap)

If you'd like to update the sitemap.xml regularly, you can add a new line in `app/Console/Kernel.php`, in the schedule function:

```
/**
 * Define the application's command schedule.
 *
 * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
 * @return void
 */
protected function schedule(Schedule $schedule)
{
    $schedule->command('sitemap:generate')->daily();

    // ...or with a defined time...

    $schedule->command('sitemap:generate')->daily()->at('02:50');
}
```

MISC: [Future ideas/development, issues](https://github.com/bringyourownideas/laravel-sitemap/issues), [Contributing](https://github.com/bringyourownideas/laravel-sitemap/blob/master/CONTRIBUTING), [License](https://github.com/bringyourownideas/laravel-sitemap/blob/master/LICENSE)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#misc-future-ideasdevelopment-issues-contributing-license)

This package was developed by [Peter Thaleikis](https://github.com/spekulatius) and is supported by [bring your own ideas Ltd.](https://bringyourownideas.com). Bring Your Own Ideas Ltd. helps you to make your project ideas to reality! Get in touch to discuss your new adventure!

[![bring your own ideas](https://camo.githubusercontent.com/8a9e929f2185ff4a6473681da09630159a4143d54aadd6d1960812aa7d5687d5/68747470733a2f2f6272696e67796f75726f776e69646561732e636f6d2f696d616765732f62796f692d6c696768742d62756c622d7472616e73706172656e742d6261636b67726f756e642e706e67)](https://bringyourownideas.com)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~53 days

Recently: every ~178 days

Total

19

Last Release

1275d ago

Major Versions

0.1.0 → 1.0.02020-10-26

1.0.4 → 2.0.02021-02-05

2.1.0 → 3.0.02022-11-15

PHP version history (4 changes)0.0.1PHP &gt;=7.0

0.0.7PHP &gt;=7.2

0.0.8PHP ^7.2

2.0.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8433587?v=4)[Peter Thaleikis](/maintainers/spekulatius)[@spekulatius](https://github.com/spekulatius)

---

Top Contributors

[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (28 commits)")[![DmitrySidorenkoShim](https://avatars.githubusercontent.com/u/8822805?v=4)](https://github.com/DmitrySidorenkoShim "DmitrySidorenkoShim (1 commits)")

---

Tags

crawlerlaravellaravel-sitemapsitemap-generatorsitemap-xmllaravellaravel-sitemapsitemap-generatorsitemap.xmlsite crawler

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)

PHPackages © 2026

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