PHP code example of ansjabar / laravel-google-calendar
1. Go to this page and download the library: Download ansjabar/laravel-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/ */
ansjabar / laravel-google-calendar example snippets
config('app.url').'/google-calendar/callback' // http://localhost:8000/azure-calendar/callback
(new \AnsJabar\LaravelGoogleCalendar\Calendar(
$from, \\ Must be instance of Carbon
$to, \\ Must be instance of Carbon
'Summary of the event'
))->createEvent();
bash
$ php artisan vendor:publish --provider="AnsJabar\LaravelGoogleCalendar\CalendarServiceProvider"