PHP Google Calendar API Example composer install Create and download client_secret.json from google API console. Change setRedirectUri parameter. Run code. Includes Authority redirect for auth code Create token credentials file and list last events.