PHPackages                             exinfinite/gsca - 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. exinfinite/gsca

ActiveLibrary

exinfinite/gsca
===============

google search console agent

3.0.0(5y ago)048MITPHPPHP ~5.6.0

Since Dec 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/exinfinite/GSCA)[ Packagist](https://packagist.org/packages/exinfinite/gsca)[ RSS](/packages/exinfinite-gsca/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

Google search console agent
===========================

[](#google-search-console-agent)

[![Packagist PHP Version Support](https://camo.githubusercontent.com/7de7751665b04c9b84025b9098510c0133d0c3ae67cc7667a1f7aab8f0d8a5e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6578696e66696e6974652f67736361)](https://camo.githubusercontent.com/7de7751665b04c9b84025b9098510c0133d0c3ae67cc7667a1f7aab8f0d8a5e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6578696e66696e6974652f67736361)[![GitHub release (latest SemVer)](https://camo.githubusercontent.com/6fbb0544d6eef1be08ec8c53251e88b0cd984473bc0272440e09801cced3d979/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6578696e66696e6974652f47534341)](https://camo.githubusercontent.com/6fbb0544d6eef1be08ec8c53251e88b0cd984473bc0272440e09801cced3d979/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6578696e66696e6974652f47534341)[![Packagist Version](https://camo.githubusercontent.com/1dcc299c7ead1b03b0cf7e8482c639d6058b2cd4010c7ea303e8cc1f4057dd19/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6578696e66696e6974652f67736361)](https://camo.githubusercontent.com/1dcc299c7ead1b03b0cf7e8482c639d6058b2cd4010c7ea303e8cc1f4057dd19/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6578696e66696e6974652f67736361)[![Packagist Downloads](https://camo.githubusercontent.com/d25e1d06b30d1980be2722a8933c68e26affe5be780d10960d3dc93fd11c4a4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6578696e66696e6974652f67736361)](https://camo.githubusercontent.com/d25e1d06b30d1980be2722a8933c68e26affe5be780d10960d3dc93fd11c4a4e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6578696e66696e6974652f67736361)[![GitHub](https://camo.githubusercontent.com/2ab62fbc332be60d386407a40bc4033496bc603366f51083c1cda021c66f7321/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6578696e66696e6974652f47534341)](https://camo.githubusercontent.com/2ab62fbc332be60d386407a40bc4033496bc603366f51083c1cda021c66f7321/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6578696e66696e6974652f47534341)

安裝
--

[](#安裝)

```
composer require exinfinite/gsca
```

使用
--

[](#使用)

### 初始化

[](#初始化)

```
//需先至google cloud platform申請服務帳戶,並將其加入google search console的資源中
$agent = new \Exinfinite\GSCA\Agent("path of credentials.json", "path of cache dir");
//若為網域資源,則使用sc-domain:site_url
$analysis = new Analysis($agent, "site_url");
$start_date = new \DateTime('first day of this month');
$end_date = new \DateTime('last day of this month');
```

### get original data

[](#get-original-data)

```
$analysis->baseData($start_date, $end_date);
```

### 成效分析

[](#成效分析)

```
//group by keyword
$analysis->searchWords($start_date, $end_date);

//group by page
$analysis->pages($start_date, $end_date);

//最高曝光的頁面-關鍵字組
$analysis->highImpressionPages($start_date, $end_date, $take = 10);

//(高曝光-高點閱率)的頁面-關鍵字組
$analysis->highCtrPages($start_date, $end_date, $take = 10);

//(高曝光-低點閱率)的頁面-關鍵字組
$analysis->lowCtrPages($start_date, $end_date, $take = 10);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~5 days

Total

9

Last Release

1942d ago

Major Versions

1.4.0 → 2.0.02020-12-28

2.1.0 → 3.0.02021-01-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19932513?v=4)[exinfinite](/maintainers/exinfinite)[@exinfinite](https://github.com/exinfinite)

---

Top Contributors

[![exinfinite](https://avatars.githubusercontent.com/u/19932513?v=4)](https://github.com/exinfinite "exinfinite (30 commits)")

---

Tags

google-search-console

### Embed Badge

![Health badge](/badges/exinfinite-gsca/health.svg)

```
[![Health](https://phpackages.com/badges/exinfinite-gsca/health.svg)](https://phpackages.com/packages/exinfinite-gsca)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)

PHPackages © 2026

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