genj/google-drive-bundle 问题修复 & 功能扩展

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

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

genj/google-drive-bundle

Composer 安装命令:

composer require genj/google-drive-bundle

包简介

Genj Google Drive bundle

README 文档

README

Features:

  • provides command to sync files from a Google Drive folder with a local folder
  • provides action to view the synced files as a slideshow

Requirements

Installation

Add this to your composer.json:

    ...
    "require": {
        ...
        "genj/google-drive-bundle": "dev-master"
        ...

Then run composer update. After that is done, enable the bundle in your AppKernel.php:

# app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles() {
        $bundles = array(
            ...
            new Genj\GoogleDriveBundle\GenjGoogleDriveBundle()
            ...

Copy the routing rules from Resources/config/routing.yml to your routing.yml.

Configuration

You need to get the following information from the Google API Console ( https://code.google.com/apis/console ):

  • Service account API key file (this file is expected to be in the app/config/ folder)
  • Service account e-mail address

Add these to your parameters.yml:

genj_google_drive.service_account_key_file:
genj_google_drive.service_account_email:

Usage

Run the sync:

$ php app/console genj:google-drive:sync

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固