2017 © Pedro Peláez
 

library sheet

Google sheet with laravel

image

kayac/sheet

Google sheet with laravel

  • Wednesday, July 25, 2018
  • by anhmantk
  • Repository
  • 0 Watchers
  • 1 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 48 % Grown

The README.md

Laravel with google sheet

Lấy dữ liệu từ google sheet, (*1)

Installation

  1. Run, (*2)

    composer require kayac/sheet:1.6.x@dev
    
  2. Add service provider into config/app.php file., (*3)

    Kayac\Sheet\CallRouteServiceProvider::class
    
  3. Run composer update, (*4)

  4. publish kayacsheet.php to config folder, (*5)

php artisan vendor:publish --provider="Kayac\Sheet\CallRouteServiceProvider" --tag=config

Commands

Tạo controller bất kỳ và, (*6)

<?php

namespace App\Http\Controllers;

use Illuminate\Routing\Router;
use Kayac\Sheet\SheetReader;

class MasterDataController extends MyController
{
    function __construct(Router $router)
    {
        parent::__construct($router);
    }

    public function index() {
        $sheet = new SheetReader();
        $sheet->generateKey();
    }

}


Chạy lệnh sau để tạo file credentials với google, (*7)

php artisan route:call --uri=/master-data

Author

Hà Anh Mận, (*8)

Document

Xem thêm cách dùng Google Sheet ở đây https://developers.google.com/sheets/api/quickstart/php, (*9)

The Versions

25/07 2018

dev-master

9999999-dev

Google sheet with laravel

  Sources   Download

MIT

The Requires

 

by Ha Anh Man

lumen dingo google client google laravel

25/07 2018

1.2

1.2.0.0

Google sheet with laravel

  Sources   Download

MIT

The Requires

 

by Ha Anh Man

lumen dingo google client google laravel

23/01 2017

1.0

1.0.0.0

Google sheet with laravel

  Sources   Download

MIT

The Requires

 

by Ha Anh Man

lumen dingo google client google laravel

23/01 2017

1.1

1.1.0.0

Google sheet with laravel

  Sources   Download

MIT

The Requires

 

by Ha Anh Man

lumen dingo google client google laravel