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(7mo ago)01MITPHPPHP ^8.1

Since Dec 4Pushed 7mo 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 today

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

31

—

LowBetter than 66% of packages

Maintenance65

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

211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20006084?v=4)[Elsevar](/maintainers/Elsevar)[@elsevar](https://github.com/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

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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