retinens/laravel-sitemap-command

A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes
3,945
Install
composer require retinens/laravel-sitemap-command
Latest Version:1.0.0
PHP:^8.0
Laravel:10 – 13
License:MIT
Last Updated:Jun 3, 2026
Links: GitHub  ·  Packagist
Maintainer: WhereIsLucas

A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes.

The package register and schedule an Artisan command to refresh the sitemap.

Installation

You can install the package via composer:

composer require retinens/laravel-sitemap-command

Don't forget to add the sitemap.xml file in your gitignore

/public/sitemap.xml

You can publish the config file with:

php artisan vendor:publish --tag="laravel-sitemap-command-config"

This is the contents of the published config file:

return [
    'website_url' => env('APP_URL')
];

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

retinens/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

4,623 35
retinens/laravel-toastr

This package provides an easy interface for using toastr.js in a Laravel app.

1,660 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

644,549,754 9,698
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441

Version History

Version Released PHP License
1.0.0 ^8.0 MIT