swapneal-dev/laravel-google-calendar-oauth2

Manage events on a Google Calendar

Fund package maintenance!
spatie.be/open-source/support-us

Installs: 63

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 224

pkg:composer/swapneal-dev/laravel-google-calendar-oauth2

dev-master 2023-09-28 06:14 UTC

This package is auto-updated.

Last update: 2025-09-28 10:42:36 UTC


README

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"
  1. Setup oauth config in google-calendar.php
  2. Run migration
  3. add your access key to google_access_token column in users table.
  4. add calendar id to google_calender_id column in users table.
  5. 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.