Download the PHP package bringyourownideas/laravel-sitemap without Composer
On this page you can find all versions of the php package bringyourownideas/laravel-sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bringyourownideas/laravel-sitemap
More information about bringyourownideas/laravel-sitemap
Files in bringyourownideas/laravel-sitemap
Package laravel-sitemap
Short Description A simple website crawler & sitemap generator without a headless browser for Laravel 5.8+
License MIT
Homepage https://bringyourownideas.com/blog/simple-laravel-sitemap-generator
Informations about the package laravel-sitemap
Laravel Sitemap Generator
A simple website crawler using php-spider and SimpleXMLElement to generate a sitemap.xml-file. The file will be stored in the public/
-directory. It is commonly used with the SEO-friendly CommonMark Blog Package at bring your own ideas.
The sitemap generator is using the meta tag article:modified_time
to identify the last modification. Noindex
in robots meta-tag will be considered and the page will be left out. If a canoncial URL is set in the document, this one will be used instead. Priorities are guessed based on the depth of the page in the website.
Why a Sitemap.xml?
Sitemaps are crawled by several search engines in the aim to identify changed pages on a website quicker and reduce crawling effort. While a sitemap technically isn't required, it can greatly support your efforts to rank higher.
Support
This package supports Laravel 6-9.
Installation
The package is managed using composer. You can install it using:
This ensures you receiving later updates automatically. Alternatively, you can install the package manually (not recommended) using the download functionality on GitHub.
Usage
The package registers a artisan command called sitemap:generate
. This triggers a crawl of your site and writing out of the sitemap. For convenience, you can add this to your deployment steps.
Regular Updates of the sitemap
If you'd like to update the sitemap.xml regularly, you can add a new line in app/Console/Kernel.php
, in the schedule function:
MISC: Future ideas/development, issues, Contributing, License
This package was developed by Peter Thaleikis and is supported by bring your own ideas Ltd.. Bring Your Own Ideas Ltd. helps you to make your project ideas to reality! Get in touch to discuss your new adventure!
All versions of laravel-sitemap with dependencies
laravel/framework Version ^6.20.12||^7.30.3||^8.4||^9.2
guzzlehttp/guzzle Version ^7.2
vdb/php-spider Version ^v0.6.3
nesbot/carbon Version ^2.41
spatie/robots-txt Version ^1.0||^2.0