PHPackages                             divyekapoor/simplegmail - 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. divyekapoor/simplegmail

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

divyekapoor/simplegmail
=======================

This project sets up a simple class for emailing via GMail.

02PHP

Since May 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/divyekapoor/simplegmail)[ Packagist](https://packagist.org/packages/divyekapoor/simplegmail)[ RSS](/packages/divyekapoor-simplegmail/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleGmail
===========

[](#simplegmail)

A class to email via Gmail using PHP.

```
$simpleGmail = new SimpleGmail("Sender Name", "john.doe@gmail.com", "john.doe.password");
$simpleGmail->send("Receiver Name", "receiver_email@example.com", "Email Subject", "Email Body");
$simpleGmail->send("Divye Kapoor", "divye@example.com", "Email Subject", "Email Body");
```

Runtime Dependencies: PHP Curl (usually widely available on most web servers).

How to Use
==========

[](#how-to-use)

```
composer require divyekapoor/simplegmail
```

The package is available [on packagist](https://packagist.org/packages/divyekapoor/simplegmail) and can be used via composer. Installation instructions for composer [are here](https://getcomposer.org/download/).

License
=======

[](#license)

This code has been released under the MIT License to do as you please. Note that it depends on the LGPL licensed PHPMailer library.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/219248?v=4)[Divye Kapoor](/maintainers/divyekapoor)[@divyekapoor](https://github.com/divyekapoor)

---

Top Contributors

[![divyekapoor](https://avatars.githubusercontent.com/u/219248?v=4)](https://github.com/divyekapoor "divyekapoor (6 commits)")

### Embed Badge

![Health badge](/badges/divyekapoor-simplegmail/health.svg)

```
[![Health](https://phpackages.com/badges/divyekapoor-simplegmail/health.svg)](https://phpackages.com/packages/divyekapoor-simplegmail)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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