PHPackages                             midnite81/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. midnite81/plivo

AbandonedArchivedLibrary[API Development](/categories/api)

midnite81/plivo
===============

A Plivo SMS integration for Laravel

v0.1.10(8y ago)21.4kMITPHPPHP &gt;=5.5.9

Since Apr 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/midnite81/plivo)[ Packagist](https://packagist.org/packages/midnite81/plivo)[ RSS](/packages/midnite81-plivo/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

Plivo
=====

[](#plivo)

[![Latest Stable Version](https://camo.githubusercontent.com/1405f62820e3f5e9b0244d290c8a37ba50c3dd562806e0a2caba5f949196839f/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f706c69766f2f76657273696f6e)](https://packagist.org/packages/midnite81/plivo) [![Total Downloads](https://camo.githubusercontent.com/8ceba6951452f7cd08dca4167eb93ba2dff9a94b43a0002d4b4f0c2cd51d4cd3/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f706c69766f2f646f776e6c6f616473)](https://packagist.org/packages/midnite81/plivo) [![Latest Unstable Version](https://camo.githubusercontent.com/9e9605601adc4d391795ce1e374958749198315f6b2b4bdebdbb13c3353e338a/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f706c69766f2f762f756e737461626c65)](https://packagist.org/packages/midnite81/plivo) [![License](https://camo.githubusercontent.com/13f2d7b8763d1ef7ea0ab353c643bc585230a1ceda966608fd358c00b789750a/68747470733a2f2f706f7365722e707567782e6f72672f6d69646e69746538312f706c69766f2f6c6963656e73652e737667)](https://packagist.org/packages/midnite81/plivo)
A Plivo SMS integration for Laravel

Project is archived
-------------------

[](#project-is-archived)

Since producing this package, Plivo have updated their own API package which is comprehensive. As such I've decided to archive this project as I am not doing any current development on it.

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

[](#installation)

This package requires PHP 5.6+, and includes a Laravel 5 Service Provider and Facade.

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

```
"midnite81/plivo": "0.1.*"

```

Run `composer install` or `composer update` to download the dependencies or you can run `composer require midnite81/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 5 Integration

[](#laravel-5-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' => [
  Midnite81\Plivo\MessagingServiceProvider::class
];
```

Add the `Messaging` facade to your aliases array.

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

Publish the config and migration files using

```
php artisan vendor:publish --provider="Midnite81\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(Midnite81\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 Midnite81\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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Recently: every ~92 days

Total

11

Last Release

3103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/254850?v=4)[Simon Rogers](/maintainers/midnite81)[@midnite81](https://github.com/midnite81)

---

Top Contributors

[![midnite81](https://avatars.githubusercontent.com/u/254850?v=4)](https://github.com/midnite81 "midnite81 (29 commits)")

---

Tags

laravelplivoplivo-smstext-messagelaravelsms

### Embed Badge

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

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

###  Alternatives

[aloha/twilio

Twilio API for Laravel

4733.7M5](/packages/aloha-twilio)[kavenegar/laravel

laravel 4 and 5 kavenegar integration

85342.4k5](/packages/kavenegar-laravel)[lakshmaji/plivo

Send SMS using Plivo Cloud API

2016.8k](/packages/lakshmaji-plivo)[lakshmajim/plivo

Send SMS using Plivo Cloud API

205.7k](/packages/lakshmajim-plivo)

PHPackages © 2026

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