PHPackages                             grinsteindavid/google-calendar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. grinsteindavid/google-calendar

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

grinsteindavid/google-calendar
==============================

Manage events on a Google Calendar

1.0.1(7y ago)1173[1 issues](https://github.com/grinsteindavid/google-calendar/issues)MITPHPPHP ^7.0

Since Jun 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/grinsteindavid/google-calendar)[ Packagist](https://packagist.org/packages/grinsteindavid/google-calendar)[ Docs](https://github.com/grinsteindavid/)[ RSS](/packages/grinsteindavid-google-calendar/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Manage events and calendars on a Google Calendar
================================================

[](#manage-events-and-calendars-on-a-google-calendar)

This package makes working with a Google Calendar a breeze.

Features
--------

[](#features)

- Manage any number of calenders and its events with less code

Requirements
------------

[](#requirements)

- Google calendar API credentials.json (as a service) from
- credentials.json dir folder should be on a ENV variable named "GOOGLE\_CALENDAR\_CREDENTIALS" (example: GOOGLE\_CALENDAR\_CREDENTIALS=/home/ubuntu/credentials.json)

Installation
------------

[](#installation)

You can install the package via composer:

composer require grinsteindavid/google-calendar

Usage
-----

[](#usage)

```
use GrinsteinDavid\GoogleCalendar\Calendar;
use GrinsteinDavid\GoogleCalendar\Event;

$calendar = new Calendar();
$calendar->summary = 'Summer';
$calendar->save();

$event = new Event($calendar->id);
$event->timeZone = "America/New_York";
$event->summary = 'First Event';
$event->startDateTime = date("Y-m-d H:i:s", strtotime('+1 hours'));
$event->endDateTime = date("Y-m-d H:i:s", strtotime('+4 hours'));
$event->save();

foreach ($calendar->events() as $event) {
    $event->description = 'Hottest summer!';
    $event->save(); // UPDATED BY ATTRS

    $event->update([  // UPDATED BY PARAMS
    	'description' => 'Hottest summer!'
    ]);
}

$calendar2 = new Calendar($calendarId);

$events = $calendar2->events();

$event = new Event($calendar2->id, $calendar2->events[0]->id);
$event->organizerEmail = 'example1@email.com';
$event->organizerName = "David Miranda Grinstein";
$event->guestsCanInviteOthers = true;
$event->guestsCanModify = true;
$event->guestsCanSeeOtherGuests = true;
$event->anyoneCanAddSelf = true;
$event->attendees = [
    [
        'email' => 'example1@email.com',
        'displayName' => 'example 1'
    ],
    [
        'email' => 'example2@email.com',
        'displayName' => 'example 2'
    ]
];
$event->save();

array_push($event->attendees, [
    'email' => 'example3@email.com',
    'displayName' => 'example 3'
]);

$event->save();
```

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2830d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77e6692c0a894b9c1f38e9d4d6e6649b1427a47c7228b1d8301db030a8efd7a4?d=identicon)[grinsteindavid](/maintainers/grinsteindavid)

---

Top Contributors

[![grinsteindavid](https://avatars.githubusercontent.com/u/17448908?v=4)](https://github.com/grinsteindavid "grinsteindavid (24 commits)")

---

Tags

phpeventgoogleschedulecalendarlaravel-google-calendar

### Embed Badge

![Health badge](/badges/grinsteindavid-google-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/grinsteindavid-google-calendar/health.svg)](https://phpackages.com/packages/grinsteindavid-google-calendar)
```

###  Alternatives

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M18](/packages/spatie-laravel-google-calendar)[laraveljutsu/zap

A flexible, performant, and developer-friendly schedule management system for Laravel

1.4k54.4k](/packages/laraveljutsu-zap)[tomatophp/filament-seo

Manage and generate SEO tags and integrate your website with Google SEO services

112.5k1](/packages/tomatophp-filament-seo)[kriss/yii2-calendar-schedule

Yii2 Calendar Schedule

107.5k](/packages/kriss-yii2-calendar-schedule)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
