承接 kayac/sheet 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kayac/sheet

Composer 安装命令:

composer require kayac/sheet

包简介

Google sheet with laravel

README 文档

README

Lấy dữ liệu từ google sheet

Installation

  1. Run

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

    Kayac\Sheet\CallRouteServiceProvider::class
  3. Run composer update

  4. publish kayacsheet.php to config folder

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

Commands

Tạo controller bất kỳ và

<?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

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

##Author Hà Anh Mận

##Document Xem thêm cách dùng Google Sheet ở đây https://developers.google.com/sheets/api/quickstart/php

统计信息

  • 总下载量: 261
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-01-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固