Laravel Sitemap | Laravel |
---|---|
You can install this package via Composer by running this command:
composer require arcanedev/laravel-sitemap
NOTE : The package will automatically register itself if you're using Laravel
>= v5.5
, so you can skip this section.
Once the package is installed, you can register the service provider in config/app.php
in the providers
array:
'providers' => [
...
Arcanedev\LaravelSitemap\LaravelSitemapServiceProvider::class,
],
To publish the config/lang/view files, run this command:
php artisan vendor:publish --provider="Arcanedev\LaravelSitemap\LaravelSitemapServiceProvider"