PHPackages                             diviky/laravel-messenger-people - 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. diviky/laravel-messenger-people

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

diviky/laravel-messenger-people
===============================

Value First Notifications driver for sms

v1.0.2(5y ago)0111MITPHPCI failing

Since Apr 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sankarsuda/laravel-messenger-people)[ Packagist](https://packagist.org/packages/diviky/laravel-messenger-people)[ Docs](https://github.com/sankarsuda/laravel-messenger-people)[ RSS](/packages/diviky-laravel-messenger-people/feed)WikiDiscussions master Synced 1mo ago

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

Notifications channel for Laravel 5.3+
======================================

[](#notifications-channel-for-laravel-53)

Contents
--------

[](#contents)

- [Installation](#installation) - [Setting up your account](#setting-up-your-account)
- [Usage](#usage) - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require diviky/laravel-messenger-people
```

### Setting up your account

[](#setting-up-your-account)

Add your configuration to your `config/services.php`:

```
// config/services.php
...
'messengerpeople' => [
    'client_id' => env('MP_CLIENT_ID'),
    'client_secret' => env('MP_CLIENT_SECRET'),
    'number_id' => env('MP_NUMBER_ID'),
],
...
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\MessengerPeople\Channel;
use NotificationChannels\MessengerPeople\Message;
use Illuminate\Notifications\Notification;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return [Channel::class];
    }

    public function toMessengerPeople($notifiable)
    {
        return (new Message())
            ->text("Your {$notifiable->service} account was approved!");
    }
}
```

In order to let your Notification know which phone are you sending to, the channel will look for the `phone_number` attribute and `mobile` of the Notifiable model. If you want to override this behaviour, add the `routeNotificationForMessengerPeople` method to your Notifiable model.

```
public function routeNotificationForMobtexting()
{
    return '+1234567890';
}
```

### Available Message methods

[](#available-message-methods)

- `from('')`: Accepts a phone to use as the notification sender.
- `text('')`: Accepts a string value for the notification body.
- `to('')`: Accepts a string value for the notification to (over writes default).

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

[](#contributing)

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

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~85 days

Total

3

Last Release

2089d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99c172c42e19c2ad0db03c0596a00eb21047df990ba405bb2d1fd57204eb2c2f?d=identicon)[sankar.suda](/maintainers/sankar.suda)

---

Top Contributors

[![sankarsuda](https://avatars.githubusercontent.com/u/798414?v=4)](https://github.com/sankarsuda "sankarsuda (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/diviky-laravel-messenger-people/health.svg)

```
[![Health](https://phpackages.com/badges/diviky-laravel-messenger-people/health.svg)](https://phpackages.com/packages/diviky-laravel-messenger-people)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2022.2M8](/packages/laravel-notification-channels-apn)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[laravel-notification-channels/webpush

Web Push Notifications driver for Laravel.

9005.5M27](/packages/laravel-notification-channels-webpush)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2588.4M17](/packages/laravel-notification-channels-twilio)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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