Download the PHP package famdirksen/laravel-google-indexing without Composer
On this page you can find all versions of the php package famdirksen/laravel-google-indexing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download famdirksen/laravel-google-indexing
More information about famdirksen/laravel-google-indexing
Files in famdirksen/laravel-google-indexing
Package laravel-google-indexing
Short Description Index Laravel website in Google via Indexing API
License MIT
Homepage https://github.com/famdirksen/laravel-google-indexing
Informations about the package laravel-google-indexing
Index pages in Google
WORK IN PROGRESS, some functionalities may be changed in the future.
Request a page to be indexed by Google using the Indexing API.
Please, take a note at the allowed pages that can be index using this API at https://developers.google.com/search/apis/indexing-api/v3/quickstart.
Installation
You can install the package via composer:
Next you have to follow the setup instructions from Google, this can be found here Google Indexing API documentation.
You need to make a file in your storage direct, but you can override this setting in config with the key laravel-google-indexing.google.auth_config
.
Soon we'll publish a blog post on how to setup this package.
Usage
NOTE: this package works only for verified sites in your Google Search Console account
Inform Google about a new or updated URL:
Delete an URL from the index:
Get the status of an URL:
Or use the Facade
Inform Google about a new or updated URL:
Delete an URL from the index:
Get the status of an URL:
For dealing with multiple urls, you can pass an array with multiple updated/deleted urls:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Robin Dirksen (personal site)
- Famdirksen
- All Contributors
License
The MIT License (MIT). Please see License File for more information.