PHPackages                             avlima/laravel-sms-mmcenter - 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. avlima/laravel-sms-mmcenter

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

avlima/laravel-sms-mmcenter
===========================

MMCenter SMS notification service for Laravel

1.0.0(6y ago)17791MITPHPPHP &gt;=7.1

Since Aug 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/avlima/laravel-sms-mmcenter)[ Packagist](https://packagist.org/packages/avlima/laravel-sms-mmcenter)[ Docs](https://github.com/avlima/laravel-sms-mmcenter)[ RSS](/packages/avlima-laravel-sms-mmcenter/feed)WikiDiscussions master Synced yesterday

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

[![Packagist](https://camo.githubusercontent.com/80177852457d40877217d1805819d3c6c830ea9e68ae3eaad2e3cacb9df027eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61766c696d612f6c61726176656c2d736d732d6d6d63656e7465722e737667)](https://packagist.org/packages/avlima/laravel-sms-mmcenter) [![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/avlima/laravel-sms-mmcenter/master/LICENSE)

Integrate SMS MMCenter with Laravel
===================================

[](#integrate-sms-mmcenter-with-laravel)

MMCenter SMS notification service for Laravel.

#### [Star ⭐](https://github.com/avlima/laravel-sms-mmcenter) repo to show suport 😊

[](#star--repo-to-show-suport-)

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

[](#installation)

### Install Package

[](#install-package)

Require this package with composer:

```
composer require avlima/laravel-sms-mmcenter

```

### Add Service Provider &amp; Facade

[](#add-service-provider--facade)

#### For Laravel 5.5+

[](#for-laravel-55)

Once the package is added, the service provider and facade will be autodiscovered.

#### For Older versions of Laravel

[](#for-older-versions-of-laravel)

Add the ServiceProvider to the providers array in `config/app.php`:

```
Avlima\SmsMMCenter\Providers\SmsMMCenterServiceProvider::class,

```

Add the Facade to the aliases array in `config/app.php`:

```
'SmsMMCenter': Avlima\SmsMMCenter\Facades\SmsMMCenterFacade::class,

```

### Publish Config

[](#publish-config)

Once done, publish the config to your config folder using:

```
php artisan vendor:publish --provider="Avlima\SmsMMCenter\Providers\SmsMMCenterServiceProvider"

```

Configuration
-------------

[](#configuration)

Add the keys in `.env`:

```
MMCENTER_USER=
MMCENTER_PASSWORD=
MMCENTER_TIMEOUT=60
MMCENTER_URL=http://www.mmcenter.com.br/mmenvio.aspx,
MMCENTER_OPERATION=ENVIO
MMCENTER_ROUTE=

```

Once the config file is published, open `config/sms-mmcenter.php`

Usage
-----

[](#usage)

#### Using SmsMMCenter facade

[](#using-smsmmcenter-facade)

- Basic Usage `SmsMMCenter::sendMessage("TO","MESSAGE");`

### Use in Notifications

[](#use-in-notifications)

#### Setting up the Route for Notification

[](#setting-up-the-route-for-notification)

Add the method `routeNotificationForSmsMMCenter()` to your Notifiable model:

```
public function routeNotificationForSmsMMCenter() {
        return $this->phone; //Name of the field to be used as mobile
    }

```

By default, your User model uses Notifiable.

#### Setting up Notification

[](#setting-up-notification)

Add

`use Avlima\SmsMMCenter\Notifications\SmsMMCenterChannel;`

and

`use Avlima\SmsMMCenter\Notifications\SmsMMCenterMessage;`

to your notification.

You can create a new notification with `php artisan make:notification NOTIFICATION_NAME`

In the `via` function inside your notification, add `return [SmsMMCenterChannel::class];` and add a new function `toSmsMMCenter($notifiable)` to return the message body and parameters.

Notification example:-

```
namespace App\Notifications;

use Avlima\SmsMMCenter\Notifications\SmsMMCenterChannel;
use Avlima\SmsMMCenter\Notifications\SmsMMCenterMessage;
use Illuminate\Notifications\Notification;

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

    public function toSmsMMCenter($notifiable)
    {
        return (new SmsMMCenterMessage)
            ->to("44999999999")
            ->content("Hello");
    }
}

```

Support
-------

[](#support)

Feel free to post your issues in the issues section.

Credits
-------

[](#credits)

Developed by [Alberto Lima](https://github.com/avlima "Alberto Vieira de Lima")

License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

2475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8912db2ced555e1efb149ba4b510e78f5a30d9be0c006bfd132b84426fbbfff9?d=identicon)[avlima](/maintainers/avlima)

---

Top Contributors

[![avlima](https://avatars.githubusercontent.com/u/13434925?v=4)](https://github.com/avlima "avlima (2 commits)")

---

Tags

laravel-notificationslaravel-smslaravel sms apilaravel sms senderlaravel sms notificationslaravel sms web apilaravel mmenviolaravel mmcenter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avlima-laravel-sms-mmcenter/health.svg)

```
[![Health](https://phpackages.com/badges/avlima-laravel-sms-mmcenter/health.svg)](https://phpackages.com/packages/avlima-laravel-sms-mmcenter)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)

PHPackages © 2026

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