PHPackages                             one2tek/larasheets - 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. one2tek/larasheets

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

one2tek/larasheets
==================

Laravel Google Sheets

1.0.0(5y ago)242.1kMITPHP

Since Dec 17Pushed 5y ago4 watchersCompare

[ Source](https://github.com/one2tek/larasheets)[ Packagist](https://packagist.org/packages/one2tek/larasheets)[ Docs](https://github.com/one2tek/larapi)[ RSS](/packages/one2tek-larasheets/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

### Introduction

[](#introduction)

**Larasheets** is a package thats offers you to connect with Google Sheets via API in Laravel.

### Installation

[](#installation)

Follow the steps below to install the package.

**Composer**

```
composer require one2tek/larasheets

```

**Copy Config**

Run `php artisan vendor:publish --provider="one2tek\larasheets\Providers\LaravelServiceProvider"` to publish the `larasheets.php` config file.

**Get API Credentials**

Get API Credentials from Enable Google Sheets API, Google Drive API.

**Configure .env as needed**

```
GOOGLE_APPLICATION_NAME=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT=
GOOGLE_DEVELOPER_KEY=
GOOGLE_SERVICE_ACCOUNT_JSON_LOCATION=

```

### Cache

[](#cache)

`Larasheets` also support cache system, you just need to configure at `config/larasheets.php`.

```
laravel_cache' => [
    'enable' => true,
    'driver' => 'file',
    'remember_forever' => false,
    'remember_in_seconds' => 600 // 10 minutes
]

```

### Usage

[](#usage)

Follow the steps below to find how to use the package.

```
