redaelfillali/google-sheet-integration 问题修复 & 功能扩展

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

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

redaelfillali/google-sheet-integration

最新稳定版本:v1.0.4

Composer 安装命令:

composer require redaelfillali/google-sheet-integration

包简介

Laravel package for Google Sheet integration

README 文档

README

A Laravel 10 package to integrate Google Sheets, allowing you to link a model to a Google Sheet, update the Google Sheet, and add new rows for each new value of the selected model. Customize the mapping of Google Sheet columns to model values.

Latest Stable Version Stars Php Google API client Total Downloads License

Features

  • Link a Laravel model to a Google Sheet
  • Update Google Sheets with model data
  • Add new rows to Google Sheets when new model values are added
  • Customize the column mapping between the Google Sheet and model attributes

Requirements

  • PHP >= 7+
  • Laravel 8+
  • Google API Client Library

Installation

Prerequisites

  1. Ensure you have Composer installed.
  2. Set up a Google Cloud project with the Sheets API enabled and create a service account with JSON credentials. Follow this guide to set up the Google Sheets API and create a service account.

Step-by-Step Guide

  1. Install the package via Composer:
composer require redaelfillali/google-sheet-integration
  1. Publish the package configuration file:
php artisan vendor:publish --provider="RedaElfillali\\GoogleSheetIntegration\\GoogleSheetServiceProvider" --tag=config
  1. Add the following environment variables to your .env file:
GOOGLE_SHEET_CREDENTIALS_PATH=/path/to/credentials.json

Usage

The usage documentation can be found in the Usage.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-09