PHPackages                             enflow/laravel-excel-to-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. enflow/laravel-excel-to-google-sheet

Abandoned → [enflow/laravel-excel-exporter](/?search=enflow%2Flaravel-excel-exporter)ArchivedLibrary[PDF &amp; Document Generation](/categories/documents)

enflow/laravel-excel-to-google-sheet
====================================

Push Laravel Excel exporters to Google Sheets

1.2.0(1y ago)310.3k3MITPHPPHP ^8.3

Since Mar 15Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/enflow/laravel-excel-to-google-sheet)[ Packagist](https://packagist.org/packages/enflow/laravel-excel-to-google-sheet)[ Docs](https://github.com/enflow/laravel-excel-to-google-sheet)[ Fund](https://enflow.nl/contact)[ RSS](/packages/enflow-laravel-excel-to-google-sheet/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (6)Versions (6)Used By (0)

⚠️ Deprecated: see

=============

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

41

—

FairBetter than 87% of packages

Maintenance51

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 56.4% 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 ~172 days

Total

3

Last Release

497d ago

PHP version history (2 changes)1.0.0PHP ^8.2

1.2.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/665ee1919e7c3d12f556cb913d0012a632271f912dc9c3250b7da67d7f3f4b16?d=identicon)[enflow](/maintainers/enflow)

---

Top Contributors

[![mbardelmeijer](https://avatars.githubusercontent.com/u/1583095?v=4)](https://github.com/mbardelmeijer "mbardelmeijer (31 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")

---

Tags

excelgooglelaravelsheetsexcelsheetenflow

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)

PHPackages © 2026

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