I’m working on a PHP project where I need to pull calendar events from Google Calendar API and display them as notifications to users. I want to retrieve all upcoming events and store them in an array or list format so I can loop through them on my webpage. What’s the best approach to do this? I’m looking for sample code that shows how to authenticate with Google’s API and fetch the events data. Also, which PHP libraries work best for this kind of integration? Any help with the implementation would be great since I’m new to working with Google’s calendar services.