Looking to hire Laravel developers? Try LaraJobs

laravel-sitemap-command maintained by retinens

Description
A automatic command to refresh the sitemap on the website, using spatie/laravel-sitemap behind the scenes
Author
Last update
2022/05/15 16:19 (dev-main)
License
Downloads
3 834

Comments
comments powered by Disqus

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.