PHPackages                             mhndev/messaging - 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. mhndev/messaging

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

mhndev/messaging
================

messaging service

1.0.2(9y ago)2107MITPHPPHP &gt;=5.4.0

Since Feb 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mhndev/messaging)[ Packagist](https://packagist.org/packages/mhndev/messaging)[ RSS](/packages/mhndev-messaging/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Messaging Service
=================

[](#messaging-service)

### Test with Gmail mail server

[](#test-with-gmail-mail-server)

```
$message = new \mhndev\messaging\EmailMessage(
    'majid_hosseini70@yahoo.com',
    'my message body',
    'my subject',
    'majid8911303@gmail.com',
    'naderi.payam@gmail.com',
    'h.mohayeji@gmail.com'

);

$myEmail = 'sampleUser@gmail.com';
$myEmailPassword = 'password';

$transporter = new \mhndev\messaging\SmtpSwiftTransporter('smtp.gmail.com', 465, 'ssl' , $myEmail, $myEmailPassword);

$transporter->transport($message);
```

### Send Sms

[](#send-sms)

```
$novinPayamak = new \mhndev\messaging\NovinPayamak([
    'wsdl' => 'http://www.novinpayamak.com/services/SMSBox/wsdl',
    'Auth'=> [
        'number'=> '50005725045',
        'pass'=>'password',
    ],
    'encoding' => 'UTF-8'
]);

$message = new \mhndev\messaging\SmsMessage('09355497674', 'Mr Naderi Sms works too ;). good night.');
$result = (new \mhndev\messaging\twoGMessageTransporter())->setProvider($novinPayamak)->transport($message);

var_dump($result);
die();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

3323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c3e5d182214e2e6b989a2230bcae80b2107b088da1c6dbea6f6f8d28702e272?d=identicon)[majidphpdeveloper](/maintainers/majidphpdeveloper)

---

Top Contributors

[![mhndev](https://avatars.githubusercontent.com/u/5164182?v=4)](https://github.com/mhndev "mhndev (15 commits)")

---

Tags

email-notificationmessagingmessaging-librarysms-notificationsmessaging

### Embed Badge

![Health badge](/badges/mhndev-messaging/health.svg)

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

PHPackages © 2026

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