PHPackages                             bodyansky/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. [API Development](/categories/api)
4. /
5. bodyansky/plivo

ActiveLibrary[API Development](/categories/api)

bodyansky/plivo
===============

A Plivo SMS integration for Laravel

0.0.4(4y ago)021MITPHPPHP ^7.4|^8.0

Since Apr 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/OlegBodyansky/plivo)[ Packagist](https://packagist.org/packages/bodyansky/plivo)[ Docs](https://github.com/OlegBodyansky/plivo)[ RSS](/packages/bodyansky-plivo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Plivo
=====

[](#plivo)

[![Latest Stable Version](https://camo.githubusercontent.com/e1a93ae2b9b63e8bc1629c7c1d26e5d898b62bcd890f3ae9373754f8e7349cc2/68747470733a2f2f706f7365722e707567782e6f72672f626f6479616e736b792f706c69766f2f76657273696f6e)](https://packagist.org/packages/bodyansky/plivo) [![Total Downloads](https://camo.githubusercontent.com/9575d228bb852b70a2358fcc724f9076ce5af605d47216b2d04676c98d0fa737/68747470733a2f2f706f7365722e707567782e6f72672f626f6479616e736b792f706c69766f2f646f776e6c6f616473)](https://packagist.org/packages/bodyansky/plivo) [![Latest Unstable Version](https://camo.githubusercontent.com/2499a9c8b298052e460d41c89097082ac05f6f9abf5da7853863c1b1a6c62e74/68747470733a2f2f706f7365722e707567782e6f72672f626f6479616e736b792f706c69766f2f762f756e737461626c65)](https://packagist.org/packages/bodyansky/plivo) [![License](https://camo.githubusercontent.com/63afc7acfc2ba86d7609166f566f35d63652e5a9487e1c5b640c4f1ec9cad28d/68747470733a2f2f706f7365722e707567782e6f72672f626f6479616e736b792f706c69766f2f6c6963656e73652e737667)](https://packagist.org/packages/bodyansky/plivo)
A Plivo SMS integration for Laravel

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

[](#installation)

This package requires PHP 7.4+, and includes a Laravel 7 Service Provider and Facade.

To install through composer include the package in your `composer.json`.

```
"bodyansky/plivo": "1.1.0"

```

Run `composer install` or `composer update` to download the dependencies or you can run `composer require bodyansky/plivo`.

### Refresh Autoloader

[](#refresh-autoloader)

At this point some users may need to run the command `composer dump-autoload`. Alternatively, you can run `php artisan optimize`which should include the dump-autoload command.

### Laravel 7+ Integration

[](#laravel-7-integration)

To use the package with Laravel 5 firstly add the Messaging service provider to the list of service providers in `app/config/app.php`.

```
'providers' => [
  Bodyansky\Plivo\MessagingServiceProvider::class
];
```

Add the `Messaging` facade to your aliases array.

```
'aliases' => [
  'Messaging' => Bodyansky\Plivo\Facades\Messaging::class,
];
```

Publish the config and migration files using

```
php artisan vendor:publish --provider="Bodyansky\Plivo\MessagingServiceProvider"
```

To access Plivo/Messaging you can either use the Facade or the Messaging instance is bound to the IOC container and you can then dependency inject it via its contract.

```
Messaging::get('foo');

public function __construct(Bodyansky\Plivo\Contracts\Services\Messaging $messaging)
{
    $this->messaging = $messaging;
}
```

Configuration File
------------------

[](#configuration-file)

Once you have published the config files, you will find a `Plivo.php` file in the `config` folder. You should look through these settings and update these where necessary.

Env
---

[](#env)

You will need to add the following to your `.env` file and update these with your own settings

```
PLIVO_AUTH_ID=
PLIVO_AUTH_TOKEN=
PLIVO_SOURCE_NUMBER=
```

Example Usage
-------------

[](#example-usage)

```
use Bodyansky\Plivo\Contracts\Services\Messaging;

public function sendMessage(Messaging $messaging)
{
    $msg = $messaging->msg('Hello World!')->to('0123456789')->sendMessage();
}

// Or you can simply use the helper function

text('+44123456789', 'Just reminding you to attend the Dentist at 3.30pm');

Text takes three arguments, to, message and optionally from.

// If text is already defined as a function in your application you can use
text_message($to, $message, $from); // or
plivo_send_text($to, $message, $from);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Total

4

Last Release

1494d ago

PHP version history (2 changes)0.0.1PHP ^7.4

0.0.3PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/664d6b9dae0cf507230b7c93b68793718bdd35e735ee299a97f9da0bcb96626d?d=identicon)[OlegBodyansky](/maintainers/OlegBodyansky)

---

Top Contributors

[![OlegBodyansky](https://avatars.githubusercontent.com/u/14930774?v=4)](https://github.com/OlegBodyansky "OlegBodyansky (16 commits)")

---

Tags

laravelsmsplivo

### Embed Badge

![Health badge](/badges/bodyansky-plivo/health.svg)

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

###  Alternatives

[aloha/twilio

Twilio API for Laravel

4733.6M5](/packages/aloha-twilio)[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[lakshmaji/plivo

Send SMS using Plivo Cloud API

2016.8k](/packages/lakshmaji-plivo)[kavenegar/laravel

laravel 4 and 5 kavenegar integration

87336.7k4](/packages/kavenegar-laravel)[lakshmajim/plivo

Send SMS using Plivo Cloud API

205.7k](/packages/lakshmajim-plivo)

PHPackages © 2026

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