PHPackages                             sergmoro1/yii2-google-spreadsheet - 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. sergmoro1/yii2-google-spreadsheet

ActiveYii2-extension[API Development](/categories/api)

sergmoro1/yii2-google-spreadsheet
=================================

Access to Google SpreadSheet from Yii2 by Google REST API.

25681[1 issues](https://github.com/sergmoro1/yii2-google-spreadsheet/issues)PHP

Since May 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sergmoro1/yii2-google-spreadsheet)[ Packagist](https://packagist.org/packages/sergmoro1/yii2-google-spreadsheet)[ RSS](/packages/sergmoro1-yii2-google-spreadsheet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Access to Google Sheets from Yii2
=================================

[](#access-to-google-sheets-from-yii2)

Simple extension for getting list of user's spreadsheets and open selected spreadsheet in IFRAME.

Example of using Google REST API and OAuth2 authorization.

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

[](#installation)

### Register Google-project first

[](#register-google-project-first)

Follow the instructions - [Setting up OAuth 2.0 ](https://support.google.com/cloud/answer/6158849?hl=en&ref_topic=6262490).

### Set up extension

[](#set-up-extension)

```
$ composer require sergmoro1/yii2-google-spreadsheet "dev-master"
```

Usage
-----

[](#usage)

1.Copy model, controller and views from ./example to corresponding directories of your app. Change methords and actions or leave them as is.

2.Define constants in params file (for ex. in frontend/config/params.php).

```
