Download the PHP package wonchoe/laravel-gsc-manager without Composer

On this page you can find all versions of the php package wonchoe/laravel-gsc-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-gsc-manager

Laravel GSC Manager

Reusable Laravel package for discovering, storing, approving, and syncing Google Search Console data with Google Service Account JSON files.

Requirements

This package does not use API keys. Authentication is always done with service account JSON credentials.

Installation

For local path development:

Service Account JSON Files

Put one or more JSON files in:

The file names can be anything. Each JSON file is treated as one service account and one group of accessible Search Console sites.

Add each service account client_email to the relevant Google Search Console property permissions. The package reads client_email and project_id, but never returns or logs private_key.

Discovery

Discovery scans storage/app/private/gsc-keys, upserts credentials, calls Search Console sites.list, and stores discovered properties. Broken JSON files are logged and skipped without stopping the batch.

Approving Sites

By default, discovered sites are inactive until approved:

You can also approve through your own admin UI or directly in the database by setting status=approved and active=true.

Sync Search Analytics

Supported search types:

Supported dimensions:

Search Analytics uses startRow pagination when enabled and stores clicks, impressions, ctr, position, dynamic dimension values, a row hash, and the raw API row.

Discover Search Appearances

Search Appearance names are not hardcoded. The package discovers them by querying Search Analytics grouped by searchAppearance.

Sync Sitemaps

Sitemap sync stores sitemap path, submitted/downloaded timestamps, warnings, errors, sitemap index status, pending status, contents, submitted counts, and deprecated indexed counts if Google returns them.

Submitting and deleting sitemaps require full scope and are disabled by default:

URL Inspection

The package calls:

Stored URL Inspection fields include verdict, coverage state, robots state, indexing state, page fetch state, Google/user canonicals, crawl time, crawled-as value, sitemap URLs, referring URLs, inspection result link, AMP/mobile/rich results raw payloads, and the full raw response.

Scheduler Example

API Routes

Default prefix: /api/gsc

You can change the route URL prefix and route name prefix in config/gsc-manager.php:

All responses use:

Credential API responses expose safe fields only: id, file_name, client_email, project_id, active, last_discovered_at, and last_synced_at.

Supported GSC Data

Indexing API Warning

Google officially limits the Indexing API to pages with JobPosting or BroadcastEvent embedded in VideoObject. This package never runs Indexing API automatically for normal pages. It is disabled by default and guarded by indexing_api.allowed_content_only.

Security Notes

Configuration

Publish the config:

Key options:


All versions of laravel-gsc-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
google/apiclient Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wonchoe/laravel-gsc-manager contains the following files

Loading the files please wait ...