A easy appointment system for tutor and students.
connect and extend your google calendar
Google calendar api authentication
-
composer install
-
public your calendar and change your calendar ID at line: 86 and line: 94 in
app/Http/Controllers/HomeController.php
$calendarId = '5sbpquu8mg8t01eue4iv8s6cuk@group.calendar.google.com';
-
create these files and input your
client secret
and
refresh_token
config/google/client_secret.json
config/google/.refresh_token
(important! use Google OAuth 2.0 Playground to get your refresh token)
create your own project to get API keys in Google API Console and create new OAuth 2.0 (web application) credentials, download as .json file.
By use Google OAuth2.0 Playground with custom Client ID and secret settings, you can get your own refresh currectly.
See more detail in this video.
- Run your own calendar