PHPackages                             ushahidi/gmail-support - 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. ushahidi/gmail-support

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

ushahidi/gmail-support
======================

Support Gmail as Data Provider

0.3.3(4y ago)03.4k—0%2AGPL-3.0-or-laterPHP

Since Aug 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/ushahidi/gmail-support)[ Packagist](https://packagist.org/packages/ushahidi/gmail-support)[ RSS](/packages/ushahidi-gmail-support/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (8)Versions (11)Used By (0)

Ushahidi Gmail Support
======================

[](#ushahidi-gmail-support)

What is this package for?
-------------------------

[](#what-is-this-package-for)

This gmail support library is a composer package, that extends the ushahidi platform datasource manager, adding *Gmail* as a data source. It allows the platform to authenticate a gmail account, giving the access to send and receive messages via Gmail Service API instead of the default POP/IMAP.

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

[](#installation)

You can install the package via composer:

```
$ composer require ushahidi/gmail-support
```

The above command will add the package as a dependency in your current project.

*Note: In a Ushahidi platform codebase, the package needs to be manually registered. Add the code below to the `boostrap/lumen.php` file*

```
$app->register(Ushahidi\Gmail\GmailServiceProvider::class);
```

Usage
-----

[](#usage)

Update your `config/services.php` file by adding your Gmail API credentials.

```
    'gmail' => [
        'client_id' => env('GMAIL_CLIENT_ID'),
        'client_secret' => env('GMAIL_CLIENT_SECRET'),
        'redirect_uri' => env('GMAIL_REDIRECT_URI','urn:ietf:wg:oauth:2.0:oob'),
    ]
```

Update your `.env` file by adding your server key.

```
GMAIL_CLIENT_ID=
GMAIL_CLIENT_SECRET=
GMAIL_REDIRECT_URI=
```

*Tip: For quick gmail authentication setup run the artisan command*

```
$ php artisan gmail:auth
```

To make use of this support package for mailing in your laravel app, update your `.env` and set your mail driver to `gmail`.

```
MAIL_DRIVER=gmail
```

Track the progress of the GMail integration project here
========================================================

[](#track-the-progress-of-the-gmail-integration-project-here)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87% 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 ~47 days

Recently: every ~14 days

Total

8

Last Release

1752d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d73ab1b1fe858ad11e38c6d0edd3ce730544a18064d017b57cba170dab3cc335?d=identicon)[ushahidi](/maintainers/ushahidi)

---

Top Contributors

[![webong](https://avatars.githubusercontent.com/u/30173059?v=4)](https://github.com/webong "webong (47 commits)")[![tuxpiper](https://avatars.githubusercontent.com/u/467393?v=4)](https://github.com/tuxpiper "tuxpiper (5 commits)")[![rowasc](https://avatars.githubusercontent.com/u/2434401?v=4)](https://github.com/rowasc "rowasc (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ushahidi-gmail-support/health.svg)

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

###  Alternatives

[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)

PHPackages © 2026

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