承接 dllpl/google-fast-indexing 相关项目开发

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

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

dllpl/google-fast-indexing

最新稳定版本:1.0.1

Composer 安装命令:

composer require dllpl/google-fast-indexing

包简介

Пакет PHP предназначенный для быстрой индексации страниц вашего сайта в поиске Google.

README 文档

README

(en) Library for quick indexing of a site (site pages) in Google search results. Based on the library google/apiclient. A detailed guide from obtaining a Google API key to submitting URLs for indexing is available at link

(ru) Библиотека для быстрой индексации сайта (страниц сайта) в поисковой выдаче Google. Создано на основе библиотеки google/apiclient. Подробное руководство от получения API-ключа Google до отправки url-адресов на индексацию доступно по ссылке

Requirements (Требования)

  • php: ^7.4 || ^8.0

Installation (Установка)

composer require dllpl/google-fast-indexing

Usage example (Вызов)

use Dllpl\Google\FastIndexing;

// (en) path to the .json file of the private key received in the Google account
// (ru) путь до .json файла приватного ключа, полученного в ЛК Google
$fastIndexing = new FastIndexing('service_account.json'); 

// (en) path to the .txt file containing URLs to be sent for indexing
// (ru) путь до .txt файла, содержащего url-адреса для отправки на индексацию
$result = $fastIndexing->send('urls.txt'); 

var_dump($result);

Example file urls.txt (Пример файла)

Each URL is on a new line. It's important.

https://mydomain.com
https://mydomain.com/all
https://mydomain.com/pages
...

P.S.

Recently, Google has been very poorly and very slowly indexing website pages on its own, Based on this, there was a desire to implement this package for our own needs and for the needs of the entire GitHub community. Thank you for your stars! I invite you to take part in the development of this package.

(ru) В последнее время Google очень плохо и совсем неспешно самостоятельно индексирует страницы сайта, исходя из этого возникло желание реализовать данный пакет для собственных нужд и для нужд всего GitHub-комьюнити. Спасибо за ваши звезды! Приглашаю принять участие в развитие данного пакета.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-10