PHPackages                             bogordesaincom/excel-googlesheet - 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. bogordesaincom/excel-googlesheet

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

bogordesaincom/excel-googlesheet
================================

Push Laravel Excel exporters to Google Sheets

0201[1 PRs](https://github.com/bogordesaincom/export-excel-googlesheet/pulls)PHP

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bogordesaincom/export-excel-googlesheet)[ Packagist](https://packagist.org/packages/bogordesaincom/excel-googlesheet)[ RSS](/packages/bogordesaincom-excel-googlesheet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Push Laravel Excel exporters to Google Sheets
=============================================

[](#push-laravel-excel-exporters-to-google-sheets)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3006cd23d0d17f4a3e1156cb3746931520f672625e14cb36ab186a1991b50bbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e666c6f772f6c61726176656c2d657863656c2d746f2d676f6f676c652d73686565742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/enflow/laravel-excel-to-google-sheet)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/e467cf4afd6149c39c74800638ff512e10d3328147b7e4da3c0edf0d5378cd93/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e666c6f772f6c61726176656c2d657863656c2d746f2d676f6f676c652d73686565742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/enflow/laravel-excel-to-google-sheet)

The `enflow/laravel-excel-to-google-sheet` package provides an easy way to push Laravel Excel exporters to Google Sheet. Use-cases include creating a Laravel Export to be exported in your application layer, which also needs to be periodically synced to a remote Google Sheet.

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

[](#installation)

You can install the package via composer:

```
composer require enflow/laravel-excel-to-google-sheet
```

Authentication
--------------

[](#authentication)

The package uses the [Google Client PHP library](https://github.com/googleapis/google-api-php-client) in the background. Authenticating with Google requires a Google Cloud Console account. Via the Google Cloud Console account, you must have a valid project, where the `Google Spreadsheet API` is enabled. To export the required JSON credentials, you can follow the steps below:

1. Go to the [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project or select an existing project
3. Go to `APIs & Services` &gt; `Credentials`
4. Click `Create Credentials` &gt; `Service account`
5. Choose `Spreadsheet API` for the scope.
6. Fill in the required fields and click `Create`
7. Select the created service account and click `Add key` &gt; `Create new key`
8. Select `JSON` and click `Create`
9. The JSON file will be downloaded to your computer
10. Copy the contents of the JSON file and place it in a secure place. We recommend `storage/secrets/google-service-account.json`

Implementation
--------------

[](#implementation)

To start, publish the config file:

```
php artisan vendor:publish --provider="Enflow\LaravelExcelToGoogleSheet\LaravelExcelToGoogleSheetServiceProvider" --tag="config"
```

After, you can add your existing Laravel Excel export classes to the `exports` array:

```
'exports' => [
    'teams' => \App\Exports\TeamsExport::class,
],
```

After setting up the exports, we recommend running `php artisan push-export-to-google-sheets` to validate the exports are pushed correctly.

To periodically schedule a push from your Laravel Excel export to a Google Sheet, you can schedule the `Enflow\LaravelExcelToGoogleSheet\PushAllExportsToGoogleSheets` command. This will send all defined exports to their Google Sheets. For instance:

```
use Enflow\LaravelExcelToGoogleSheet\PushExportsToGoogleSheets;

$schedule->command(PushAllExportsToGoogleSheets::class)->dailyAt(3)->environments('production');
```

Testing
-------

[](#testing)

```
$ composer test
```

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)

- [Michel Bardelmeijer](https://github.com/mbardelmeijer)
- [All Contributors](../../contributors)

About Enflow
------------

[](#about-enflow)

Enflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info [on our website](https://enflow.nl/en).

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/f601d7f75bdf1e140aca794409ebe70b690616612f39d8bf4471b00383d33631?d=identicon)[bogordesain](/maintainers/bogordesain)

---

Top Contributors

[![bogordesaincom](https://avatars.githubusercontent.com/u/51335197?v=4)](https://github.com/bogordesaincom "bogordesaincom (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/bogordesaincom-excel-googlesheet/health.svg)

```
[![Health](https://phpackages.com/badges/bogordesaincom-excel-googlesheet/health.svg)](https://phpackages.com/packages/bogordesaincom-excel-googlesheet)
```

PHPackages © 2026

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