Loris Leiva shows us how to allow our users to integrate all of their Google calendars and events within our application.

google calendar laravel

Whilst your application might not urgently need such integrations, we will go through several patterns and learn some clean ways to clip external data to your projects. If you haven't worked with the Google API before, you will see that it brings lots of challenges and weirdness that require us to be extra vigilant to the organization of our code which makes it a good recreational-programming exercise.

In this first article we are going to define our models, set up the Google API as a service and finally fetch, map and display calendars and events.

Demo

google calendar laravel

Tutorials

Part 1:

http://lorisleiva.com/google-calendar-part-1-integration/

Part 2:

http://lorisleiva.com/google-calendar-part-2-periodic-synchronizations/