fulldecent/google-sheets-etl 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

fulldecent/google-sheets-etl

Composer 安装命令:

composer require fulldecent/google-sheets-etl

包简介

Synchronize all your Google Sheets to your SQL database

README 文档

README

PHP Composer

Google Sheets ETL

Import all your Google Sheets to your data warehouse, including periodic delta loads

Screen Shot 2019-11-07 at 15 44 33

See example.php how to use this library.

Install

Via Composer

composer require fulldecent/google-sheets-etl:dev-main

Next, create a Google Service Account. This requires 20 steps so we made a a step-by-step illustrated guide.

Testing

composer test

Google Sheets limitations

We found several problems with using Google Sheets as a database, even though we continue to use it:

  • Cannot restrict editing the first row (headers) to certain people
    • If you try protecting the cells it will prevent everyone from using a filter which is unacceptable
    • Sometimes the page will load slowly and your collaborators will accidentally overwrite the first row, which is default-selected, and it will cause your ETL to error until fixed
  • Cannot restrict that any formatting must apply to the entire column (including new rows)
    • Inevitably, any conditional formatting you try to set up will apply to a disjoint set of cells throughout your sheet over time
  • Cannot restrict that formulas must apply to the entire column (including new rows)
    • Inevitably, over time your calculated "status" column will turn into the text literal "DONE" as people copy-paste-values to new rows
  • Cannot limit people from using formatting in cells (which comes by default when they paste into cells)
  • Cannot enforce a unique column
    • Creating a custom data validation formula is cumbersome and not reliable, plus other collaborators can defeat it
  • Cannot create a sheet-level comment to document the purpose of the whole sheet
  • Filters cannot be used, because they hide rows for everybody
    • If using another mode "filter views", which is harder to find, it will create hundreds of saved "Filter 1", "Filter 2" ... files.

References

统计信息

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

GitHub 信息

  • Stars: 22
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固