Skip to content

retinens/laravel-sitemap-command

Repository files navigation

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.

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages