PHPackages                             yish/laravel-googlespreadsheet - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. yish/laravel-googlespreadsheet

AbandonedArchivedLibrary[PDF &amp; Document Generation](/categories/documents)

yish/laravel-googlespreadsheet
==============================

Google spreadsheet transforms to json and storing to file with laravel.

1.1.1(5y ago)33MITPHPPHP ^7.1

Since Aug 24Pushed 5y agoCompare

[ Source](https://github.com/Mombuyish/Laravel-GoogleSpreadSheet)[ Packagist](https://packagist.org/packages/yish/laravel-googlespreadsheet)[ Docs](https://github.com/mombuyish/laravel-GoogleSpreadSheet)[ RSS](/packages/yish-laravel-googlespreadsheet/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Laravel Google SpreadSheet
==========================

[](#laravel-google-spreadsheet)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a3bd98bc6a5e9e0e90c876589aa8c9002633709ff67e5cb0e39cce89f4687939/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796973682f6c61726176656c2d676f6f676c6573707265616473686565742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yish/laravel-googlespreadsheet)[![Build Status](https://camo.githubusercontent.com/9b5db3708b1fb16c48090412548f84358edb109b8ad8fbe65b41afa2421d2235/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4d6f6d6275796973682f6c61726176656c2d676f6f676c6573707265616473686565742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Mombuyish/laravel-googlespreadsheet)[![Total Downloads](https://camo.githubusercontent.com/e54c1758e36c2f152ba2c0ad0c37fb3e19ac582e8c5503dd15489e4772e8f2d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796973682f6c61726176656c2d676f6f676c6573707265616473686565742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yish/laravel-googlespreadsheet)

Google spreadsheet transforms to json and storing to file with laravel.

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

[](#installation)

You can install the package via composer:

```
composer require yish/laravel-googlespreadsheet
```

If you need to set access type, you can publish config.

This package depends on `pulkitjalan/google-apiclient`, so you need to publish `pulkitjalan/google-apiclient` config and setup.

```
    'service' =>  [
        'enabled' => true,
        'file' => 'your-service-account-json-file-path',
    ],
```

You need to check your service account and configs are all done.

1. google console
2. service account
3. download credential.json
4. enabled sheet api
5. paste service account to sheet account permission

Usage
-----

[](#usage)

```
// $sheet_id = your google spreadsheet id.
// $range = you need column range, like 'Class Data!A2:E', if you use chinese, using double quote. "'首頁'!A2:E".
// $title = you want to set which one be a title key.
// $unset = you want to unset which columns.
// $scope = Google_Service_Sheets::SPREADSHEETS_READONLY.
GoogleSpreadSheet::json($sheet_id, $range, $title = 0, $unset = [], $scope = null)
GoogleSpreadSheet::json($sheet_id, 'index!A2:E', 0, [1, 2]) // get the sheet and set 0 column to be title key, unset column 1 and column 2.
// You can chain the storeAs.
GoogleSpreadSheet::json($sheet_id, 'index!A2:E', 0, [1, 2])->storeAs($path, $disk = 'public')
// Or you can use feed.
GoogleSpreadSheet::feed($sheet_id, $sheet = 1, $format = 'json')
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information 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)

- [Yish](https://github.com/mombuyish)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

2073d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8007787?v=4)[Yish](/maintainers/Mombuyish)[@Mombuyish](https://github.com/Mombuyish)

---

Top Contributors

[![Mombuyish](https://avatars.githubusercontent.com/u/8007787?v=4)](https://github.com/Mombuyish "Mombuyish (14 commits)")

---

Tags

laravelgooglespreadsheetyish

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yish-laravel-googlespreadsheet/health.svg)

```
[![Health](https://phpackages.com/badges/yish-laravel-googlespreadsheet/health.svg)](https://phpackages.com/packages/yish-laravel-googlespreadsheet)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.7M5](/packages/elibyy-tcpdf-laravel)[avadim/fast-excel-laravel

Lightweight and very fast XLSX Excel Spreadsheet Export/Import for Laravel

4146.7k1](/packages/avadim-fast-excel-laravel)

PHPackages © 2026

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