PHPackages                             fbizi/google-meet - 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. fbizi/google-meet

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

fbizi/google-meet
=================

Google calendar events with meet conference

1.1.1(2y ago)055MITPHPPHP &gt;=7.4

Since Oct 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/franciscobizi/google-meet)[ Packagist](https://packagist.org/packages/fbizi/google-meet)[ RSS](/packages/fbizi-google-meet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

Google Calendar With Meet Conference
====================================

[](#google-calendar-with-meet-conference)

Lightweight Google Calendar API library for managing events on Google Calendar. You can create event with video conference (google meet), update and cancel. The library focus only on Calendar Events resource.

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

[](#installation)

Package is available on [Packagist](https://packagist.org/packages/fbizi/google-meet), you can install it using Composer.

`composer require fbizi/google-meet`

Dependencies
------------

[](#dependencies)

- PHP 7.4+

Basic usage
-----------

[](#basic-usage)

Before use this library make sure to register a Google Application and enable Calendar API on Google Cloude Console, so you can make APIs calls. Follow this [guide](https://developers.google.com/workspace/guides/get-started) if you don't have yet.

```
use FBIZI\Calendar\GoogleCalendar;

$calendar = new GoogleCalendar(CLIENT_ID, CLIENT_REDIRECT_URL, CLIENT_SECRET);

// Generate authenticate url link so you can call it
$url = GoogleCalendar::auth(string $client_redirect_url, string $client_id, string $access_type optional, bool $redirect optional);

// check if get the response code after calling the authentication url
if(isset($_GET['code']) && !empty($_GET['code'])){
    $code = $_GET['code'];
    $calendar->getAccessToken($code);

    // if you want to save the token and refresh_token somewhere for use later e.g DB just call this
    $token_to_save = $calendar->token;
    $refresh_token_to_save = $calendar->refresh_token;

    // if want to assign saved token and refresh_token just do this
    $calendar->token = $token_to_save;
    $calendar->refresh_token = $refresh_token_to_save;

    // for event creation
    $timezone = $calendar->getCalendarTimezone(); // to get user calendar timezone

    $args = [
        "title" => "Event title", // optional
        "description" => "Event description", // optional
        "start" => [
                "dateTime" => "2024-12-31T12:00:00",
                "timeZone" => $timezone['value']
        ],
        "end" => [
            "dateTime" => "2024-12-31T13:00:00",
            "timeZone" => $timezone['value'],
        ],
        "attendees" => [
            ["email" => "test1@test.com"]
        ],
        "meet_id" => "jdjhjdhdjdj", // optional
    ];

    $event = GoogleCalendar::eventData(array $args);

    $data = $calendar->createEvent(array $event, string $calendar_id optional);
    // on successful will get the event resource
    // retrive event id or meet link $data['id'] | $data['hangoutLink']

    // for event update
    $timezone = $calendar->getCalendarTimezone(); // to get user calendar timezone

    $args['attendees'] = [
        ["email" => "test1@test.com"],
        ["email" => "test2@test.com"] // add 1 more attendee
    ];

    $event_id = $data['id'];

    $event = GoogleCalendar::eventData(array $args);

    $data = $calendar->updateEvent(string $event_id, array $event, string $calendar_id optional);
    // on successful will get the event resource

    // for event cancellation
    $calendar->cancelEvent($data['id']);

    // explore other methods such as get event or calendar by id
}
```

Donation
--------

[](#donation)

Methods :

- [Buy me a coffee](https://www.buymeacoffee.com/franciscobizi)

If this project help you reduce time to develop, you can give me a cup of coffee :)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~29 days

Recently: every ~74 days

Total

12

Last Release

998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e8799a0920ac75375ecb2897bcf593fdea84debc4c88bfcd2ea3325a767cf17?d=identicon)[franciscobizi](/maintainers/franciscobizi)

---

Top Contributors

[![franciscobizi](https://avatars.githubusercontent.com/u/16182066?v=4)](https://github.com/franciscobizi "franciscobizi (38 commits)")

---

Tags

googleeventscalendarmeetingvideo-call

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fbizi-google-meet/health.svg)

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

###  Alternatives

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M21](/packages/spatie-laravel-google-calendar)[yohang/calendr

Object Oriented calendar management

465614.1k3](/packages/yohang-calendr)[unclecheese/eventcalendar

Event Calendar for the SilverStripe CMS

3215.2k8](/packages/unclecheese-eventcalendar)[dereuromark/cakephp-calendar

A CakePHP plugin to easily create calendars.

1646.8k1](/packages/dereuromark-cakephp-calendar)[silverstripe/event-calendar

Event Calendar for the SilverStripe CMS

318.5k3](/packages/silverstripe-event-calendar)[webbinaro/flarum-calendar

Adds a calendar of events created by users

177.8k](/packages/webbinaro-flarum-calendar)

PHPackages © 2026

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