Google Search Console
Search Console performance data inside your own admin. Drop-in Livewire, React and Vue components for clicks, impressions, CTR and average position, plus top queries and top pages tables \u2014 all authenticated through the shared Google base package.
v1.0.0
MIT License
★ 0
composer require artisanpack-ui/google-search-console
$ composer require artisanpack-ui/google-search-console
✓ artisanpack-ui/google pulled in automatically
$ php artisan vendor:publish --tag=google-search-console-config
✓ config/google-search-console.php
<livewire:google-search-console::performance-card />
What it does
Search performance, in your dashboard
Three components, one fetch layer and a reporting API you can call directly. Every surface handles its own loading, empty, error and not-connected states.
Performance card
Clicks, impressions, CTR and average position for the last 28 days, with a trend chart and its own empty and error states.
Top queries table
The queries bringing you traffic, up to 1,000 rows, over any range within the Search Console maximum.
Top pages table
Your best-performing URLs, with the same range and limit controls as the queries table.
Livewire, React and Vue
React and Vue mirror the Livewire API and share a single fetch layer, so every framework reads the same server payload.
Single-consent scope
Contributes webmasters.readonly to the base package's shared registry — no separate consent step, no manual scope wiring.
CMS dashboard widgets
With the CMS framework installed, all three components register as admin widgets behind the view_google_search_console capability.
Get started
Install and point at a property
Set GSC_SITE_URL to the exact property string Search Console uses — a URL prefix with its trailing slash, or sc-domain:example.com.
1 · Install
composer require artisanpack-ui/google-search-console
2 · Publish config
php artisan vendor:publish --tag=google-search-console-config
3 · Publish views (optional)
php artisan vendor:publish --tag=google-search-console-views
4 · Publish React / Vue sources (optional)
php artisan vendor:publish --tag=google-search-console-js
Requirements
What you need
| Requirement | Detail |
|---|---|
| PHP | 8.2+ |
| Laravel | 10, 11, 12 or 13 |
| Base package | artisanpack-ui/google ^1.0, configured with the user's account connected |
| Search Console | A verified URL prefix or Domain property on that account |
| Blade components | livewire/livewire ^3.6 (optional) |
| Multi-tenant apps should skip the global GSC_SITE_URL and scope per tenant — the HTTP controllers deliberately ignore any ?site_url= query string so one user cannot read another tenant's property. | |
Bring search data home with Search Console
Performance cards, top queries and top pages for Livewire, React and Vue. Free and open source under the MIT license.
