PHPackages                             luuhai48/gmail-oauth2 - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. luuhai48/gmail-oauth2

AbandonedArchivedFlarum-extension[Mail &amp; Notifications](/categories/mail)

luuhai48/gmail-oauth2
=====================

Send email using Google API

v1.0.0(4y ago)00MITPHP

Since Jan 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luuhai48/gmail-oauth2)[ Packagist](https://packagist.org/packages/luuhai48/gmail-oauth2)[ RSS](/packages/luuhai48-gmail-oauth2/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Gmail-Oauth2
============

[](#gmail-oauth2)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/0c79d27361aa35e01544ffdc3d8eb1d7f9ead8e5e7fccee31726828db6f07361/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c757568616934382f676d61696c2d6f61757468322e737667)](https://packagist.org/packages/luuhai48/gmail-oauth2)

A [Flarum](http://flarum.org) extension. Send email using Google API.

---

### Installation

[](#installation)

**Install the extension**

```
composer require luuhai48/gmail-oauth2
```

**Note:**This requires to install the package `google/apiclient-services`, which comes with over 200 services and can be unecessary. Include this in your `composer.json` file before installing the package to only keep what we need.

```
{
    ...
    "scripts": {
        "pre-autoload-dump": "Google\\Task\\Composer::cleanup"
    },
    "extra": {
        "google/apiclient-services": [
            "Oauth2"
        ]
    }
}
```

Or run: `composer dump-autoload -o` to run the cleanup again.

**Follow this instruction to create a Google Oauth2 App**

- Redirect URI: must be `your-website-address/gmail-oauth2`

After that, you will get your `client_id` and `client_secret`.

### Updating

[](#updating)

```
composer update luuhai48/gmail-oauth2
```

---

### Links

[](#links)

- [Github](https://github.com/luuhai48/gmail-oauth2)
- [Packagist](https://packagist.org/packages/luuhai/gmail-oauth2)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/629c692451c088e9bca0c1d95ebf0bd5e6f3248d3d1d1553db7ae5b13e36723a?d=identicon)[luuhai48](/maintainers/luuhai48)

---

Tags

flarum

### Embed Badge

![Health badge](/badges/luuhai48-gmail-oauth2/health.svg)

```
[![Health](https://phpackages.com/badges/luuhai48-gmail-oauth2/health.svg)](https://phpackages.com/packages/luuhai48-gmail-oauth2)
```

###  Alternatives

[fof/subscribed

Additional user subscriptions for your forum

1327.5k2](/packages/fof-subscribed)[fof/webhooks

Automatically notify Discord, Slack, and Microsoft Teams when events happen on your Flarum forum.

2518.3k](/packages/fof-webhooks)[fof/pretty-mail

Create HTML email for Flarum

1131.1k](/packages/fof-pretty-mail)

PHPackages © 2026

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