PHPackages                             mateusjatenee/laravel-notifications-plivo - 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. mateusjatenee/laravel-notifications-plivo

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

mateusjatenee/laravel-notifications-plivo
=========================================

Plivo SMS notifications driver for Laravel

v1.5(6y ago)0793MITPHPPHP &gt;=7.0CI failing

Since Aug 15Pushed 6y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (7)Versions (12)Used By (0)

Plivo notifications channel for Laravel 5.6
===========================================

[](#plivo-notifications-channel-for-laravel-56)

This is a fork of laravel-notification-channels/plivo with added support to 5.6
-------------------------------------------------------------------------------

[](#this-is-a-fork-of-laravel-notification-channelsplivo-with-added-support-to-56)

[![Latest Version on Packagist](https://camo.githubusercontent.com/779070be1ce34cbc449758eed6574512838bb2ec5c32c61d402f53a64770dcf8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746575736a6174656e65652f6c61726176656c2d6e6f74696669636174696f6e732d706c69766f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mateusjatenee/laravel-notifications-plivo)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/616db45f41d451a94d3d45d381e32e8deb36ee0e35c4a9b98d601900f401cd3c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d61746575736a6174656e65652f6c61726176656c2d6e6f74696669636174696f6e732d706c69766f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/mateusjatenee/laravel-notifications-plivo)[![StyleCI](https://camo.githubusercontent.com/ce9ec0d270143bf185a58ada8cf4c7126ebb346a81488bc0372eadbb1b63282b/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353731353231382f736869656c64)](https://styleci.io/repos/65715218)[![SensioLabsInsight](https://camo.githubusercontent.com/d4216ceba8d7abd6e5aa6a336f6431adf2fd52e8fcfb9556f9cee50092266119/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f66346264393963342d303932632d346533362d613331392d3832366631343263316563342e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/f4bd99c4-092c-4e36-a319-826f142c1ec4)[![Quality Score](https://camo.githubusercontent.com/ee69f69592b50cf626d24e9f8cd1f415afc73f3a02f84b4c5ea6d4056df2abd9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d61746575736a6174656e65652f6c61726176656c2d6e6f74696669636174696f6e732d706c69766f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/mateusjatenee/laravel-notifications-plivo)[![Code Coverage](https://camo.githubusercontent.com/79248d9bae9d48e37d07849461fbfd56b2b6a7e311915b22de260530d12fc87b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6d61746575736a6174656e65652f6c61726176656c2d6e6f74696669636174696f6e732d706c69766f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/mateusjatenee/laravel-notifications-plivo/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/b8402fc537de7beb7aa77ac47a9e25868f68f2935a4620d8d54d09134e5256bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61746575736a6174656e65652f6c61726176656c2d6e6f74696669636174696f6e732d706c69766f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mateusjatenee/laravel-notifications-plivo)

This package makes it easy to send SMS notifications using [Plivo](https://plivo.com) with Laravel 5.6.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Plivo service](#setting-up-the-Plivo-service)
- [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 this package via composer: `composer require mateusjatenee/laravel-notifications-plivo`

Add the service provider to `config/app.php`:

```
// config/app.php
'providers' => [
    ...
    Mateusjatenee\Plivo\PlivoServiceProvider::class,
],
```

### Setting up your Plivo service

[](#setting-up-your-plivo-service)

Log in to your [Plivo dashboard](https://manage.plivo.com/dashboard/) and grab your Auth Id, Auth Token and the phone number you're sending from. Add them to `config/services.php`.

```
// config/services.php
...
'plivo' => [
    'auth_id' => env('PLIVO_AUTH_ID'),
    'auth_token' => env('PLIVO_AUTH_TOKEN'),
    // Country code, area code and number without symbols or spaces
    'from_number' => env('PLIVO_FROM_NUMBER'),
    // The url Plivo will request to notify about changing sms statuses
    'webhook' => ''
],
```

Usage
-----

[](#usage)

Follow Laravel's documentation to add the channel your Notification class:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\Plivo\PlivoChannel;
use NotificationChannels\Plivo\PlivoMessage;

public function via($notifiable)
{
    return [PlivoChannel::class];
}

public function toPlivo($notifiable)
{
    return (new PlivoMessage)
                    ->content('This is a test SMS via Plivo using Laravel Notifications!');
}
```

Add a `routeNotificationForPlivo` method to your Notifiable model to return the phone number:

```
public function routeNotificationForPlivo()
{
    // Country code, area code and number without symbols or spaces
    return preg_replace('/\D+/', '', $this->phone_number);
}
```

### Available methods

[](#available-methods)

- `content()` - (string) SMS notification body
- `from()` - (integer) Override default from number
- `webhook()` - (string) Override the webhook in the [config file](#setting-up-your-plivo-service)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Sid K](https://github.com/koomai)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~208 days

Total

10

Last Release

2263d ago

Major Versions

0.0.1 → v1.0.02016-08-25

PHP version history (2 changes)0.0.1PHP &gt;=5.6.4

v1.5PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10816999?v=4)[Mateus Guimarães](/maintainers/mateusjatenee)[@mateusjatenee](https://github.com/mateusjatenee)

---

Top Contributors

[![koomai](https://avatars.githubusercontent.com/u/1274618?v=4)](https://github.com/koomai "koomai (18 commits)")[![mateusjatenee](https://avatars.githubusercontent.com/u/10816999?v=4)](https://github.com/mateusjatenee "mateusjatenee (7 commits)")[![JayBizzle](https://avatars.githubusercontent.com/u/340752?v=4)](https://github.com/JayBizzle "JayBizzle (4 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (4 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (4 commits)")[![henokv](https://avatars.githubusercontent.com/u/17256654?v=4)](https://github.com/henokv "henokv (1 commits)")[![cthorne91](https://avatars.githubusercontent.com/u/1942641?v=4)](https://github.com/cthorne91 "cthorne91 (1 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")

---

Tags

laravelnotificationsplivo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mateusjatenee-laravel-notifications-plivo/health.svg)

```
[![Health](https://phpackages.com/badges/mateusjatenee-laravel-notifications-plivo/health.svg)](https://phpackages.com/packages/mateusjatenee-laravel-notifications-plivo)
```

###  Alternatives

[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/pusher-push-notifications

Pusher native Push Notifications driver.

282733.2k1](/packages/laravel-notification-channels-pusher-push-notifications)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/rocket-chat

Rocket.Chat Notifications channel for Laravel 5.6+

1345.5k](/packages/laravel-notification-channels-rocket-chat)

PHPackages © 2026

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