承接 risingsun/laravel-google-indexing 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

risingsun/laravel-google-indexing

最新稳定版本:v1.0.2

Composer 安装命令:

composer require risingsun/laravel-google-indexing

包简介

Index Laravel website in Google via Indexing API

README 文档

README

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:

composer require risingsun/laravel-google-indexing

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:

LaravelGoogleIndexing::create()->update('https://www.my-domain.com')

Delete an URL from the index:

LaravelGoogleIndexing::create()->delete('https://www.my-domain.com')

Get the status of an URL:

LaravelGoogleIndexing::create()->status('https://www.my-domain.com')

##Or use the Facade Inform Google about a new or updated URL:

LaravelGoogleIndexing::update('https://www.my-domain.com')

Delete an URL from the index:

LaravelGoogleIndexing::delete('https://www.my-domain.com')

Get the status of an URL:

LaravelGoogleIndexing::status('https://www.my-domain.com')

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 gaoxu529@126.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 80
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-22