PHPackages                             elsevar/google-sheets - 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. elsevar/google-sheets

ActiveLibrary[API Development](/categories/api)

elsevar/google-sheets
=====================

A Laravel package for Google Sheets integration

v1.0.2(5mo ago)01MITPHPPHP ^8.1

Since Dec 4Pushed 5mo agoCompare

[ Source](https://github.com/Rizayev/google_sheets_integration)[ Packagist](https://packagist.org/packages/elsevar/google-sheets)[ RSS](/packages/elsevar-google-sheets/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Google Sheets Integration Package
=================================

[](#google-sheets-integration-package)

This is a Laravel package to integrate with Google Sheets API.

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

[](#installation)

1. Add the package to your `composer.json` (or install via composer if published).
2. Run migrations: ```
    php artisan migrate
    ```
3. Publish configuration: ```
    php artisan vendor:publish --tag=google-sheets-config
    ```

Configuration
-------------

[](#configuration)

Add your Google API credentials to `.env`:

```
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI=https://your-domain.com/google-sheets/callback
```

Usage
-----

[](#usage)

### Authentication

[](#authentication)

Redirect users to the connection route: `https://your-domain.com/google-sheets/connect`

### Service Usage

[](#service-usage)

```
use Elsevar\GoogleSheets\Services\GoogleSheetsService;
use Elsevar\GoogleSheets\Models\GoogleToken;

$service = new GoogleSheetsService();
$token = GoogleToken::where('user_id', auth()->id())->first();

if ($token) {
    $service->setToken($token);

    // Read data
    $data = $service->readSheet('spreadsheet-id', 'Sheet1!A1:B10');

    // Write data
    $service->writeSheet('spreadsheet-id', 'Sheet1!A1', [['Name', 'Email']]);
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance71

Regular maintenance activity

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eec430da9b3890bbbc84ffa1b1b03a8d06d84f4df7f3bf5f8286fd7aea21d386?d=identicon)[Elsevar](/maintainers/Elsevar)

---

Top Contributors

[![Rizayev](https://avatars.githubusercontent.com/u/3787054?v=4)](https://github.com/Rizayev "Rizayev (3 commits)")

### Embed Badge

![Health badge](/badges/elsevar-google-sheets/health.svg)

```
[![Health](https://phpackages.com/badges/elsevar-google-sheets/health.svg)](https://phpackages.com/packages/elsevar-google-sheets)
```

###  Alternatives

[thujohn/analytics

Google Analytics for Laravel 4

113108.7k1](/packages/thujohn-analytics)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[schulzefelix/laravel-search-console

A Laravel package to retrieve data from Google Search Console

5037.8k1](/packages/schulzefelix-laravel-search-console)[scottybo/laravel-google-my-business

A package for Laravel which implements the Google My Business API

3360.3k](/packages/scottybo-laravel-google-my-business)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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