PHPackages                             famdirksen/laravel-google-indexing - 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. [API Development](/categories/api)
4. /
5. famdirksen/laravel-google-indexing

ActiveLibrary[API Development](/categories/api)

famdirksen/laravel-google-indexing
==================================

Index Laravel website in Google via Indexing API

v0.5(3y ago)4175.9k↓21.3%10[5 issues](https://github.com/Famdirksen/laravel-google-indexing/issues)MITPHPPHP ^7.2|^8.0

Since Mar 20Pushed 3y ago3 watchersCompare

[ Source](https://github.com/Famdirksen/laravel-google-indexing)[ Packagist](https://packagist.org/packages/famdirksen/laravel-google-indexing)[ Docs](https://github.com/famdirksen/laravel-google-indexing)[ RSS](/packages/famdirksen-laravel-google-indexing/feed)WikiDiscussions master Synced 1mo ago

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

Index pages in Google
=====================

[](#index-pages-in-google)

[![Latest Version on Packagist](https://camo.githubusercontent.com/80b585af98310f24f2f3d7f1fdf942dcb224d1a4d7684b7f04bb727efd823398/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66616d6469726b73656e2f6c61726176656c2d676f6f676c652d696e646578696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/famdirksen/laravel-google-indexing)[![GitHub Tests Action Status](https://camo.githubusercontent.com/43e7d519744cd338b58b914b9403ce10b889be04e40dd8340990170c9ff52345/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f66616d6469726b73656e2f6c61726176656c2d676f6f676c652d696e646578696e672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/famdirksen/laravel-google-indexing/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Quality Score](https://camo.githubusercontent.com/b67e270278ac805f95d25834e725c465f60e2720f44e799d737b68f5d538ce20/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f66616d6469726b73656e2f6c61726176656c2d676f6f676c652d696e646578696e672e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/famdirksen/laravel-google-indexing)[![Total Downloads](https://camo.githubusercontent.com/e70738e2423f1c1b0f5e43797b8c1bff7d4923d5976b32e70eaf4f3f1b191632/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66616d6469726b73656e2f6c61726176656c2d676f6f676c652d696e646578696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/famdirksen/laravel-google-indexing)

**WORK IN PROGRESS, some functionalities may be changed in the future.**

Request a page to be indexed by Google using the [Indexing API](https://developers.google.com/search/apis/indexing-api/v3/quickstart).

Please, take a note at the allowed pages that can be index using this API at .

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require famdirksen/laravel-google-indexing
```

Next you have to follow the setup instructions from Google, this can be found here [Google Indexing API documentation](https://developers.google.com/search/apis/indexing-api/v3/prereqs).

You need to make a file in your storage direct, but you can override this setting in config with the key `laravel-google-indexing.google.auth_config`.

> Soon we'll publish a blog post on how to setup this package.

Usage
-----

[](#usage)

> NOTE: this package works only for verified sites in your Google Search Console account

Inform Google about a new or updated URL:

```
LaravelGoogleIndexing::create()->update('https://www.my-domain.com')
```

Delete an URL from the index:

```
LaravelGoogleIndexing::create()->delete('https://www.my-domain.com')
```

Get the status of an URL:

```
LaravelGoogleIndexing::create()->status('https://www.my-domain.com')
```

### Or use the Facade

[](#or-use-the-facade)

Inform Google about a new or updated URL:

```
LaravelGoogleIndexing::update('https://www.my-domain.com')
```

Delete an URL from the index:

```
LaravelGoogleIndexing::delete('https://www.my-domain.com')
```

Get the status of an URL:

```
LaravelGoogleIndexing::status('https://www.my-domain.com')
```

For dealing with multiple urls, you can pass an array with multiple updated/deleted urls:

```
LaravelGoogleIndexing::multiplePublish([['URL_UPDATED' => 'https://www.site.com'], ['URL_DELETED' => 'https://www.site.com/deleted-url']])
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Robin Dirksen](https://github.com/robindirksen1) ([personal site](https://robindirksen.com))
- [Famdirksen](https://famdirksen.nl)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.8% 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 ~102 days

Recently: every ~195 days

Total

10

Last Release

1329d ago

PHP version history (2 changes)v0.1.0PHP ^7.2

v0.4PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b31fe44f30656571aa5542650255de74327846dcac0bcff3ab1ddda5cf57727?d=identicon)[robindirksen1](/maintainers/robindirksen1)

---

Top Contributors

[![robindirksen1](https://avatars.githubusercontent.com/u/22446895?v=4)](https://github.com/robindirksen1 "robindirksen1 (44 commits)")[![serhat-kilic](https://avatars.githubusercontent.com/u/20604204?v=4)](https://github.com/serhat-kilic "serhat-kilic (3 commits)")[![abdullah-ctl](https://avatars.githubusercontent.com/u/45127367?v=4)](https://github.com/abdullah-ctl "abdullah-ctl (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laravelfamdirksenlaravel-google-indexing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/famdirksen-laravel-google-indexing/health.svg)

```
[![Health](https://phpackages.com/badges/famdirksen-laravel-google-indexing/health.svg)](https://phpackages.com/packages/famdirksen-laravel-google-indexing)
```

###  Alternatives

[pulkitjalan/google-apiclient

Google api php client wrapper with Cloud Platform and Laravel support

2582.9M5](/packages/pulkitjalan-google-apiclient)[dacastro4/laravel-gmail

Gmail API package for Laravel

312382.9k1](/packages/dacastro4-laravel-gmail)[badaso/core

The API &amp; platform builder, build your apps 10x faster even more, it's open source &amp; 100% free !

1.3k16.2k10](/packages/badaso-core)[thujohn/analytics

Google Analytics for Laravel 4

113108.7k1](/packages/thujohn-analytics)[schulzefelix/laravel-search-console

A Laravel package to retrieve data from Google Search Console

5037.8k1](/packages/schulzefelix-laravel-search-console)[scottybo/laravel-google-my-business

A package for Laravel which implements the Google My Business API

3360.3k](/packages/scottybo-laravel-google-my-business)

PHPackages © 2026

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