PHPackages                             redaelfillali/google-sheet-integration - 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. [API Development](/categories/api)
4. /
5. redaelfillali/google-sheet-integration

ActiveLibrary[API Development](/categories/api)

redaelfillali/google-sheet-integration
======================================

Laravel package for Google Sheet integration

v1.0.4(1y ago)1373[2 issues](https://github.com/redafillali/google-sheet-integration/issues)[1 PRs](https://github.com/redafillali/google-sheet-integration/pulls)MITPHPPHP ^7.3|^8.0

Since Jun 9Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/redafillali/google-sheet-integration)[ Packagist](https://packagist.org/packages/redaelfillali/google-sheet-integration)[ RSS](/packages/redaelfillali-google-sheet-integration/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (0)

Google Sheet Integration for Laravel
====================================

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

A Laravel 10 package to integrate Google Sheets, allowing you to link a model to a Google Sheet, update the Google Sheet, and add new rows for each new value of the selected model. Customize the mapping of Google Sheet columns to model values.

[![Latest Stable Version](https://camo.githubusercontent.com/9eea344d8b58fe7e36fb46576121c2f332120f0e077dc53b97a4d17d2deae337/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656461656c66696c6c616c692f676f6f676c652d73686565742d696e746567726174696f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/redaelfillali/google-sheet-integration)[![Stars](https://camo.githubusercontent.com/b74b44e9caafffe520d99191807ed56f485fcb7d9dba0ac3cc4d47ab026c3f88/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f72656461656c66696c6c616c692f676f6f676c652d73686565742d696e746567726174696f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/redaelfillali/google-sheet-integration)[![Php](https://camo.githubusercontent.com/297ae77d393f01e4a3428b5ae2fd2280c9f2fe8997fc0e70f96d129d50a7a6c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f72656461656c66696c6c616c692f676f6f676c652d73686565742d696e746567726174696f6e2f7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/redaelfillali/google-sheet-integration)[![Google API client](https://camo.githubusercontent.com/2fd5f66aaadcfdaceaeb949469b5fe911724f22afe26085cfbdab9f2d763bdd1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f72656461656c66696c6c616c692f676f6f676c652d73686565742d696e746567726174696f6e2f676f6f676c65253246617069636c69656e742e7376673f7374796c653d666c6174)](https://packagist.org/packages/redaelfillali/google-sheet-integration)[![Total Downloads](https://camo.githubusercontent.com/1beff1d648eefe7bc7137e0ed42918acd65889569838f9c6fcb3c766dc066cae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656461656c66696c6c616c692f676f6f676c652d73686565742d696e746567726174696f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/redaelfillali/google-sheet-integration)[![License](https://camo.githubusercontent.com/1a2e0606685ce00663bf829868f794fd3fc9c86f8d80cae324734129e0723a58/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e737667)](https://packagist.org/packages/redaelfillali/google-sheet-integration)

Features
--------

[](#features)

- Link a Laravel model to a Google Sheet
- Update Google Sheets with model data
- Add new rows to Google Sheets when new model values are added
- Customize the column mapping between the Google Sheet and model attributes

Requirements
------------

[](#requirements)

- PHP &gt;= 7+
- Laravel 8+
- Google API Client Library

Installation
============

[](#installation)

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

[](#prerequisites)

1. Ensure you have [Composer](https://getcomposer.org/) installed.
2. Set up a Google Cloud project with the Sheets API enabled and create a service account with JSON credentials. [Follow this guide](docs/google-cloud-service.md) to set up the Google Sheets API and create a service account.

Step-by-Step Guide
------------------

[](#step-by-step-guide)

1. **Install the package via Composer:**

```
composer require redaelfillali/google-sheet-integration
```

2. **Publish the package configuration file:**

```
php artisan vendor:publish --provider="RedaElfillali\\GoogleSheetIntegration\\GoogleSheetServiceProvider" --tag=config
```

3. **Add the following environment variables to your `.env` file:**

```
GOOGLE_SHEET_CREDENTIALS_PATH=/path/to/credentials.json
```

Usage
=====

[](#usage)

The usage documentation can be found in the [Usage](docs/usage.md).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

5

Last Release

679d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/222f072ab7e75ce3f2ec27716be439688762069a980f5a60e6cc0b5a995170e0?d=identicon)[redaelfillali](/maintainers/redaelfillali)

---

Top Contributors

[![redafillali](https://avatars.githubusercontent.com/u/20681013?v=4)](https://github.com/redafillali "redafillali (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/redaelfillali-google-sheet-integration/health.svg)

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

###  Alternatives

[revolution/laravel-google-sheets

Google Sheets API v4

4483.1M6](/packages/revolution-laravel-google-sheets)[pulkitjalan/google-apiclient

Google api php client wrapper with Cloud Platform and Laravel support

2582.9M5](/packages/pulkitjalan-google-apiclient)[dacastro4/laravel-gmail

Gmail API package for Laravel

312382.9k1](/packages/dacastro4-laravel-gmail)[spotonlive/php-google-my-business

Google MyBusiness

31677.1k](/packages/spotonlive-php-google-my-business)[happyr/google-api-bundle

A Symfony2 Wrapper for the Google APIs Client Library for PHP

48196.1k](/packages/happyr-google-api-bundle)[mediafigaro/google-analytics-api-symfony

Google Analytics API v4 Symfony

46177.7k](/packages/mediafigaro-google-analytics-api-symfony)

PHPackages © 2026

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