laravel-google-calendar-oauth2 maintained by swapneal-dev
Description
Manage events on a Google Calendar
Author
Last update
2023/09/28 08:14
(dev-master)
License
Downloads
63
Tags
Manage events on a Google Calendar with oauth support
This package is forked from spatie's calendar package with extended oauth support.
Installation
Install using composer
composer require swapneal-dev/laravel-google-calendar-oauth2
You must publish the configuration with this command:
php artisan vendor:publish --provider="Spatie\GoogleCalendar\GoogleCalendarServiceProvider"
- Setup oauth config in
google-calendar.php - Run migration
- add your access key to
google_access_tokencolumn in users table. - add calendar id to
google_calender_idcolumn in users table. - add trait to user model
Spatie\GoogleCalendar\traits\HasGoogleToken
I have created an example project for google calender implementation of this package.
https://github.com/swapneal-dev/google-calender-and-contacts
Now you are good to go.