djamy/google-calendar-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

GoogleCalendar Service with useful functions to manage google events

Installs: 399

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 6

Open Issues: 0

Type:symfony-bundle

pkg:composer/djamy/google-calendar-bundle

dev-master 2016-06-29 13:55 UTC

This package is not auto-updated.

Last update: 2021-10-02 02:13:16 UTC


README

This bundle use Google API for list, create, or update events in Google Calendar.

Please feel free to contribute, to fork, to send merge request and to create ticket.

##Requirement

Create a API account

https://console.developers.google.com Choose Server to Server type

##Installation

Step 1: Install GoogleCalendarBundle

Run

composer require djamy/google-calendar-bundle:dev-master

Step 2: Enable the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Djamy\GoogleCalendarBundle\DjamyGoogleCalendarBundle()
    );
}

Step 3: Configuration

// app/config/parameters.yml Copy your P12 file for example in app/Resources/GoogleCalendarBundle/XXXX.p12

    google_calendar:
        api_key_file: PATH TO YOUR P12 FILE # For example app/Resources/GoogleCalendarBundle/XXXX.p12
        api_url: 'https://www.googleapis.com/auth/calendar'
        client_email: XXXX@XXXX.iam.gserviceaccount.com