2017 © Pedro Peláez
 

symfony-bundle google-drive-bundle

Genj Google Drive bundle

image

genj/google-drive-bundle

Genj Google Drive bundle

  • Monday, June 8, 2015
  • by genj
  • Repository
  • 5 Watchers
  • 1 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GenjGoogleDriveBundle

Features:, (*1)

  • 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

  • Symfony 2.5
  • GooglApiClient - https://github.com/google/google-api-php-client

Installation

Add this to your composer.json:, (*2)

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

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

# 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., (*4)

Configuration

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

  • 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:, (*6)

genj_google_drive.service_account_key_file:
genj_google_drive.service_account_email:

Usage

Run the sync:, (*7)

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

The Versions

08/06 2015

dev-master

9999999-dev

Genj Google Drive bundle

  Sources   Download

MIT

The Requires

 

by Choong Wei Tjeng
by Nico Kaag
by Susan Lau

bundle symfony google drive genj