PHPackages                             gterrusa/laravel-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. [API Development](/categories/api)
4. /
5. gterrusa/laravel-google-calendar

ActiveLibrary[API Development](/categories/api)

gterrusa/laravel-google-calendar
================================

Laravel Google Calendar package

0.2.1(3y ago)36121[3 PRs](https://github.com/gTerrusa/laravel-google-calendar/pulls)1MITPHPPHP ^7.4|^8.0

Since Dec 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gTerrusa/laravel-google-calendar)[ Packagist](https://packagist.org/packages/gterrusa/laravel-google-calendar)[ Docs](https://github.com/gterrusa/laravel-google-calendar)[ GitHub Sponsors](https://github.com/gTerrusa)[ RSS](/packages/gterrusa-laravel-google-calendar/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (25)Used By (1)

Laravel Google Calendar package
===============================

[](#laravel-google-calendar-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0b64335de6148938897f8d0648d26154c426ab53a5955ced4413aa4c0bd8058e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67746572727573612f6c61726176656c2d676f6f676c652d63616c656e6461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gterrusa/laravel-google-calendar)[![GitHub Tests Action Status](https://camo.githubusercontent.com/a8ca6dc5ba5c374eba44732953064117c6e38b4bf38a02d9a5e2ff8c67fab07f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f67746572727573612f6c61726176656c2d676f6f676c652d63616c656e6461722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/gterrusa/laravel-google-calendar/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/24232636125cdeb768d69d0e8d7178efe824a30ee2b8c78c9b8945d80a6b3e82/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f67746572727573612f6c61726176656c2d676f6f676c652d63616c656e6461722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/gterrusa/laravel-google-calendar/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1a5f7c9747ff18b7a24385b0f31aae10a268c5603757824db1a8423d22e7d08b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67746572727573612f6c61726176656c2d676f6f676c652d63616c656e6461722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gterrusa/laravel-google-calendar)

A wrapper for [Spatie Laravel Google Calendar](https://github.com/spatie/laravel-google-calendar), that extends its usage.

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

[](#installation)

You can install the package via composer:

```
composer require gterrusa/laravel-google-calendar
```

You can publish the config file with:

```
php artisan vendor:publish --provider="GTerrusa\LaravelGoogleCalendar\LaravelGoogleCalendarServiceProvider"
```

This is the contents of the published config file:

```
return [

    'default_auth_profile' => env('GOOGLE_CALENDAR_AUTH_PROFILE', 'oauth'),

    'auth_profiles' => [

        /*
         * Authenticate using a service account.
         */
        'service_account' => [
            /*
             * Path to the json file containing the credentials.
             */
            'credentials_json' => env(
                'GOOGLE_SERVICE_ACCOUNT_CREDENTIALS_PATH',
                storage_path('google-calendar/service-account-credentials.json')
            ),
        ],

        /*
         * Authenticate with actual google user account.
         */
        'oauth' => [
            /*
             * Path to the json file containing the oauth2 credentials.
             */
            'credentials_json' => env(
                'GOOGLE_OAUTH_CREDENTIALS_PATH',
                storage_path('google-calendar/oauth-credentials.json')
            ),

            /*
             * Path to the json file containing the oauth2 token.
             */
            'token_json' => env(
                'GOOGLE_OAUTH_TOKEN_PATH',
                storage_path('google-calendar/oauth-token.json')
            ),
        ]
    ],

    /*
     *  The id of the Google Calendar that will be used by default.
     */
    'calendar_id' => env('GOOGLE_CALENDAR_ID'),
];
```

Google Calendar Integration
---------------------------

[](#google-calendar-integration)

1. Login or create an account in the [Google Cloud Console](https://console.developers.google.com/apis)
2. Enable Google Calendar Api
3. Click:
    1. Apis &amp; Services
    2. Credentials
    3. Create Credentials
    4. Oauth client Id
    5. Web Application
4. Include authorized endpoints and create.
5. Download credentials and paste contents into `storage/google-calendar/oauth-credentials.json`
6. add `GOOGLE_CALENDAR_ID={{ google-cloud-email-address-here }}` to your .env file
7. run `php artisan laravel-google-calendar:quickstart` and follow the prompts

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [gTerrusa](https://github.com/gTerrusa)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.1% 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 ~24 days

Recently: every ~110 days

Total

21

Last Release

1129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46fd6aa09c00a26cc86e7dac1f5cc8ecb744a4a9fc25c13e0d701fccef998f9a?d=identicon)[gTerrusa](/maintainers/gTerrusa)

---

Top Contributors

[![gTerrusa](https://avatars.githubusercontent.com/u/41301408?v=4)](https://github.com/gTerrusa "gTerrusa (41 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")

---

Tags

laravellaravel-google-calendargTerrusa

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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