PHPackages                             zlt/laravel-google-sheet - 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. zlt/laravel-google-sheet

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

zlt/laravel-google-sheet
========================

Google Sheet Service For Laravel

v0.1.4(1y ago)0197MITPHPPHP ^7.4|^8.0

Since Jan 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/w99910/laravel-google-sheet)[ Packagist](https://packagist.org/packages/zlt/laravel-google-sheet)[ RSS](/packages/zlt-laravel-google-sheet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Google Sheet Service For Laravel
--------------------------------

[](#google-sheet-service-for-laravel)

Prerequisites
-------------

[](#prerequisites)

- PHP : `^7.4`

Preparation
-----------

[](#preparation)

Insert the required credentials inside `config/filesystems.php` as follow.

```
 'google' => [
            'clientId' => env('GOOGLE_DRIVE_CLIENT_ID'),
            'clientSecret' => env('GOOGLE_DRIVE_CLIENT_SECRET'),
            'refreshToken' => env('GOOGLE_DRIVE_REFRESH_TOKEN')
        ],
```

General
-------

[](#general)

- ### How to get **sheetId**

    [](#how-to-get-sheetid)

    You can get the sheetId from the url. For example, in the url **""**, the sheetId would be `1234567890`.

Available Methods
-----------------

[](#available-methods)

- **get($sheetId, $range='')**

    Get all rows inside the sheet.

    ```
    $service = new Zlt\LaravelGoogleSheet\Services\GoogleSheetService();
    dd($service->get('sheetId'));

    // You can specify the range
    dd($service->get('sheetId','A:G'))
    ```
- **getValuesBySheetName($sheetId,$sheetName,$range='')**

Get all rows from specific sheet name.

```
$service = new Zlt\LaravelGoogleSheet\Services\GoogleSheetService();
dd($service->getValuesBySheetName('sheetId','sheetName'));
```

- **getSheetDetails($sheetId)**

    Get details of sheet id.

```
$service = new Zlt\LaravelGoogleSheet\Services\GoogleSheetService();
dd($service->getSheetDetails('sheetId'));
```

- **insertValues($sheetId, $range, array $values, $valueInputOption = "RAW")**

    Append new rows to sheet.

```
$service = new Zlt\LaravelGoogleSheet\Services\GoogleSheetService();
dd($service->insertValues('sheetId','A:D',[[1,2,3,4],[a,b,c,d]]));
```

- **getServiceInstance**

Get `Sheet` instance.

```
$service = new Zlt\LaravelGoogleSheet\Services\GoogleSheetService();

/** @var Google\Service\Sheets $sheetService */
$sheetService = $service->getServiceInstance();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~153 days

Recently: every ~229 days

Total

7

Last Release

661d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc3500e43c9d8366ea5b2b974176026c785ee56a3f93445a5262f155e9d37c9?d=identicon)[zawlintun](/maintainers/zawlintun)

---

Top Contributors

[![w99910](https://avatars.githubusercontent.com/u/65523475?v=4)](https://github.com/w99910 "w99910 (8 commits)")

### Embed Badge

![Health badge](/badges/zlt-laravel-google-sheet/health.svg)

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

###  Alternatives

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M21](/packages/spatie-laravel-google-calendar)[tomatophp/filament-seo

Manage and generate SEO tags and integrate your website with Google SEO services

112.6k1](/packages/tomatophp-filament-seo)[infoweb-internet-solutions/yii2-cms-analytics

Analytics module for Yii2

112.4k1](/packages/infoweb-internet-solutions-yii2-cms-analytics)

PHPackages © 2026

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