{"id":14966603,"url":"https://github.com/tim168/search-engine-rank","last_synced_at":"2025-04-09T23:17:27.858Z","repository":{"id":45224921,"uuid":"269292821","full_name":"TIM168/search-engine-rank","owner":"TIM168","description":":octocat::elephant:根据网站关键词，获取网站在各大搜索引擎(百度、360、搜狗)的排名情况，有利于网站seo","archived":false,"fork":false,"pushed_at":"2020-06-22T08:50:46.000Z","size":28,"stargazers_count":204,"open_issues_count":2,"forks_count":19,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-09T23:17:22.638Z","etag":null,"topics":["360","baidu","laravel","php","search-engine","sougou","thinkphp","yii2"],"latest_commit_sha":null,"homepage":"https://github.com/TIM168/search-engine-rank","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TIM168.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-04T07:41:32.000Z","updated_at":"2025-03-23T03:39:53.000Z","dependencies_parsed_at":"2022-09-22T14:26:07.638Z","dependency_job_id":null,"html_url":"https://github.com/TIM168/search-engine-rank","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fsearch-engine-rank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fsearch-engine-rank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fsearch-engine-rank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIM168%2Fsearch-engine-rank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIM168","download_url":"https://codeload.github.com/TIM168/search-engine-rank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["360","baidu","laravel","php","search-engine","sougou","thinkphp","yii2"],"created_at":"2024-09-24T13:36:40.532Z","updated_at":"2025-04-09T23:17:27.713Z","avatar_url":"https://github.com/TIM168.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e Search-Engine-Rank \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e 根据关键词获取网站在各大搜索引擎的排名情况\u003c/p\u003e\n\n[![Latest Stable Version](https://poser.pugx.org/tim168/search-engine-rank/v/stable)](https://packagist.org/packages/tim168/search-engine-rank)\n[![License](https://poser.pugx.org/tim168/search-engine-rank/license)](https://packagist.org/packages/tim168/search-engine-rank)\n[![Latest Unstable Version](https://poser.pugx.org/tim168/search-engine-rank/v/unstable)](https://packagist.org/packages/tim168/search-engine-rank)\n[![composer.lock](https://poser.pugx.org/tim168/search-engine-rank/composerlock)](https://packagist.org/packages/tim168/search-engine-rank)\n\u003ca href=\"https://www.php.net/\"\u003e\u003cimg src=\"https://img.shields.io/badge/php-%3E%3D7.2-blue\"\u003e\u003c/a\u003e\n\nREADME: [中文](https://github.com/TIM168/search-engine-rank/blob/master/README.md \"中文\")/[English](https://github.com/TIM168/search-engine-rank/blob/master/README-en.md \"English\")\n\n## 前言\n#### 仅供学习交流，切勿商用！\n#### 未设置代理ip的情况下，请谨慎使用！\n\n## 安装\n\n```shell\n$ composer require tim168/search-engine-rank\n```\n\n## 使用\n    require __DIR__ .'/vendor/autoload.php';\n\n    use Tim168\\SearchEngineRank\\SearchEngineRank;\n\t\n\t//关键字\n    $keyword = '华为';\n    \n\t//查询的页码\n    $page = 1;\n    \n\t//查询的网址\n    $url = 'https://www.huawei.com/';\n\t\n\t//代理ip（若不设置，默认用本地ip）\n\t$proxy = \"112.245.21.58:548\";\n\t\n\t//超时时间\n\t$timeout = 5；\n\t\n\t$rank = SearchEngineRank::getRank(\\Tim168\\SearchEngineRank\\Enum\\SearchEngineEnum::PC_360, $keyword, $page, $proxy, $url,$timeout);\n\t\n\t//返回排名数组\n\treturn $rank;\n\t\n## 目前支持的搜索引擎\n|  名称| 标示  | 备注  |\n| :------------ | :------------ |:------------ |\n| 百度 | SearchEngineEnum::PC_BAI_DU  |pc-bai-du  |\n| 移动百度  | SearchEngineEnum::M_BAI_DU  |m-bai-du  |\n| 360  | SearchEngineEnum::PC_360  |pc-360  |\n| 搜狗  | SearchEngineEnum::PC_SOU_GOU  |pc-sou-gou  |\n\n## 搜索原理\n\n\n## License\n**MIT**\n\n## 后语\n#### 欢迎Star\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim168%2Fsearch-engine-rank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim168%2Fsearch-engine-rank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim168%2Fsearch-engine-rank/lists"}