PHPackages                             forrestedw/laravel-google-docs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. forrestedw/laravel-google-docs

ActiveProject[Utility &amp; Helpers](/categories/utility)

forrestedw/laravel-google-docs
==============================

A convenient chainable wrapper for google/apiclient

06PHP

Since May 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/forrestedw/laravel-google-docs)[ Packagist](https://packagist.org/packages/forrestedw/laravel-google-docs)[ RSS](/packages/forrestedw-laravel-google-docs/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-google-docs
===================

[](#laravel-google-docs)

A convenient chainable wrapper for `google/apiclient`

It's simple now. More functions are added when I need them.

Get started
-----------

[](#get-started)

Watch [this](https://www.youtube.com/watch?v=iTZyuszEkxI) video to set up your `credetials.json`, then:

```
use Forrestedw\GoogleDocs\GoogleDoc;

$document = (new GoogleDoc);
```

Get a document by its id:

```
$document->getById('1QbVPiSgv8FR30Ap22cv5frIiO4VCUkRA5srdYSc8D3w'); // id from the url, eg https://docs.google.com/document/d/1QbVPiSgv8FR30Ap22cv5frIiO4VCUkRA5srdYSc8D3w/
```

Functions
=========

[](#functions)

Find and replace all instances of `lead` in the document with `gold`:

```
$document->findAndReplace('lead', 'gold'); // returns the number of replacements made.
```

```
$title = $document->getTitle() // eg 'Document 1'
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![forrestedw](https://avatars.githubusercontent.com/u/36917362?v=4)](https://github.com/forrestedw "forrestedw (2 commits)")

### Embed Badge

![Health badge](/badges/forrestedw-laravel-google-docs/health.svg)

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

PHPackages © 2026

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