PHPackages                             tim168/search-engine-rank - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. tim168/search-engine-rank

ActiveLibrary[Search &amp; Filtering](/categories/search)

tim168/search-engine-rank
=========================

Package description here.

1.0.0(5y ago)2045219[2 issues](https://github.com/TIM168/search-engine-rank/issues)MITPHP

Since Jun 5Pushed 5y ago9 watchersCompare

[ Source](https://github.com/TIM168/search-engine-rank)[ Packagist](https://packagist.org/packages/tim168/search-engine-rank)[ RSS](/packages/tim168-search-engine-rank/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

 Search-Engine-Rank
====================

[](#-search-engine-rank-)

 根据关键词获取网站在各大搜索引擎的排名情况

[![Latest Stable Version](https://camo.githubusercontent.com/8fc1f3f239dd8d150c9b1e2bd376585955e505815de3da972bb1cb9c467e34b5/68747470733a2f2f706f7365722e707567782e6f72672f74696d3136382f7365617263682d656e67696e652d72616e6b2f762f737461626c65)](https://packagist.org/packages/tim168/search-engine-rank)[![License](https://camo.githubusercontent.com/c5d0be9f1f087795d4b308217748694afefc189dac3361b85309bf007bec022b/68747470733a2f2f706f7365722e707567782e6f72672f74696d3136382f7365617263682d656e67696e652d72616e6b2f6c6963656e7365)](https://packagist.org/packages/tim168/search-engine-rank)[![Latest Unstable Version](https://camo.githubusercontent.com/1c8d317135dae43c86f3c9d1d2a6f7215089c6da34935bdf2c3d534834783b95/68747470733a2f2f706f7365722e707567782e6f72672f74696d3136382f7365617263682d656e67696e652d72616e6b2f762f756e737461626c65)](https://packagist.org/packages/tim168/search-engine-rank)[![composer.lock](https://camo.githubusercontent.com/a2a32b7f874677b90f7ffcfd739f91be6945aa3f6c86b547c0c82e1d0aea72db/68747470733a2f2f706f7365722e707567782e6f72672f74696d3136382f7365617263682d656e67696e652d72616e6b2f636f6d706f7365726c6f636b)](https://packagist.org/packages/tim168/search-engine-rank)[![](https://camo.githubusercontent.com/7fe5e9f79fc1d389e5ee6889399d57b96cbfdfb4dc0ea57aa6868ba37060e577/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e322d626c7565)](https://www.php.net/)

README: [中文](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")

前言
--

[](#前言)

#### 仅供学习交流，切勿商用！

[](#仅供学习交流切勿商用)

#### 未设置代理ip的情况下，请谨慎使用！

[](#未设置代理ip的情况下请谨慎使用)

安装
--

[](#安装)

```
$ composer require tim168/search-engine-rank
```

使用
--

[](#使用)

```
require __DIR__ .'/vendor/autoload.php';

use Tim168\SearchEngineRank\SearchEngineRank;

//关键字
$keyword = '华为';

//查询的页码
$page = 1;

//查询的网址
$url = 'https://www.huawei.com/';

//代理ip（若不设置，默认用本地ip）
$proxy = "112.245.21.58:548";

//超时时间
$timeout = 5；

$rank = SearchEngineRank::getRank(\Tim168\SearchEngineRank\Enum\SearchEngineEnum::PC_360, $keyword, $page, $proxy, $url,$timeout);

//返回排名数组
return $rank;

```

目前支持的搜索引擎
---------

[](#目前支持的搜索引擎)

名称标示备注百度SearchEngineEnum::PC\_BAI\_DUpc-bai-du移动百度SearchEngineEnum::M\_BAI\_DUm-bai-du360SearchEngineEnum::PC\_360pc-360搜狗SearchEngineEnum::PC\_SOU\_GOUpc-sou-gou搜索原理
----

[](#搜索原理)

License
-------

[](#license)

**MIT**

后语
--

[](#后语)

#### 欢迎Star

[](#欢迎star)

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2164d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7a4edb6b1ea94a522eb4f5b528f8d24c3fd1e096c1eaf8601b716cfd28ba71e?d=identicon)[codefarmer](/maintainers/codefarmer)

---

Top Contributors

[![suppermoment](https://avatars.githubusercontent.com/u/67251942?v=4)](https://github.com/suppermoment "suppermoment (14 commits)")[![TIM168](https://avatars.githubusercontent.com/u/20741518?v=4)](https://github.com/TIM168 "TIM168 (1 commits)")

---

Tags

360baidularavelphpsearch-enginesougouthinkphpyii2

### Embed Badge

![Health badge](/badges/tim168-search-engine-rank/health.svg)

```
[![Health](https://phpackages.com/badges/tim168-search-engine-rank/health.svg)](https://phpackages.com/packages/tim168-search-engine-rank)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M201](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[terminal42/escargot

A web crawler or spider library based on Symfony components

581.4M3](/packages/terminal42-escargot)[mediamonks/crawler

Crawl your own website with various clients for SEO and indexing purposes.

211.1k1](/packages/mediamonks-crawler)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
