PHP code example of falco442 / cake-google-calendar
1. Go to this page and download the library: Download falco442/cake-google-calendar library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
falco442 / cake-google-calendar example snippets
public $components = array(
...,
'GoogleCalendar.GoogleCalendar'=>array(
'id'=>'your-Google-App-id',
'secret'=>'your-Google-App-secret'
)
);
$event = array(
'start'=>'2014-12-31 22:00:00',
'end'=>'2015-01-01 03:30:00',
'summary'=>'New Years Eve Dinner',
'description'=>'We will have a great party!!',
'location'=>'Via Nazionale 6 Roma'
);