Download the PHP package itsjjfurki/google-crawl-detector without Composer
On this page you can find all versions of the php package itsjjfurki/google-crawl-detector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itsjjfurki/google-crawl-detector
More information about itsjjfurki/google-crawl-detector
Files in itsjjfurki/google-crawl-detector
Package google-crawl-detector
Short Description Logs each request made by Google crawlers.
License MIT
Homepage https://github.com/itsjjfurki/google-crawl-detector
Informations about the package google-crawl-detector
Google Crawl Detector
Google Crawl Detector is a Laravel package that enables logging each request made by Google. It is essential for websites that want to improve their SEO performance to log every request made by Google crawlers. Doing so allows webmasters to obtain valuable insights into how Google crawls and indexes their website. This information can be used to detect potential crawl errors, indexation problems, and areas where optimization is possible.
Installation:
Fetch the package via composer:
Publish service provider:
Migrate to create google_crawls table:
Modify and add this to your .env file:
For more information as to what environment variables you can modify, please check out the config file for this package.
Run the console command to fetch the Google crawler IPs:
Optional
In order to fetch Google crawler IPs regularly, create a cronjob to execute scheduled tasks.
Contributing
Please make sure to update tests as appropriate.
Please make sure to write tests and run them as often as possible.
Please make sure to keep the tests fast (less than a second) as you will be running them often.
Please make sure you follow the project code style guides. It currently uses Laravel Pint
's default settings.
Please make sure you do all of the above before creating a pull request :)
In order to run the tests and make sure that the project code style guidelines are followed, you can run the following command:
License
The MIT License (MIT). Please see License File for more information.