retinens/laravel-sitemap-command

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

1.0.0 2022-05-15 14:19 UTC

This package is auto-updated.

Last update: 2024-10-30 01:42:58 UTC


README

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.