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

ActiveLibrary[API Development](/categories/api)

lakshmaji/plivo
===============

Send SMS using Plivo Cloud API

1.2.5(9y ago)2016.8k↓20%5MITPHP

Since Jan 7Pushed 5y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

Laravel - plivo
===============

[](#laravel---plivo)

[docs on web](http://lakshmaji.github.io/plivo/)

> ## WHAT IT IS?
>
> [](#what-it-is)

- This package is used to send sms to any mobile number.
- This uses [Plivo!](https://www.plivo.com/) API.
- It requires *AuthId* and *AuthToken*, they can be generated by registering @at [Plivo](https://manage.plivo.com/dashboard/)
    - after registrion click on Dashboard ,there you will be able to see authid and authtoken.
    - sample snapshot: [![Image of plivo dashboard](https://raw.githubusercontent.com/lakshmaji/images/master/plivo.png)](https://raw.githubusercontent.com/lakshmaji/images/master/plivo.png)

> ### Version
>
> [](#version)

1.2.4

> ### Compatibility
>
> [](#compatibility)

**Laravel version****Plivo version**5.41.2.45.21.2.45.11.2.45.01.2.44.21.1.0> ## INSTALLATION
>
> [](#installation)

To install this package you will need:

- Laravel 4 or 5 (see compatibility table)
- PHP

Install via composer ( you can install this package issuing the following command from the terminal )

`composer require lakshmaji/plivo`

> ## Laravel INTEGRATION
>
> [](#laravel-integration)

Once this has finished, you will need to add the service provider to the **providers** array in your app.php config as follows:

```
 Lakshmaji\Plivo\PlivoServiceProvider::class,
```

Next, also in the app.php config file, under the **aliases** array, you are required to add the *Plivo* facade.

```
'Plivo' => Lakshmaji\Plivo\Facade\Plivo::class,
```

Finally, you will want to publish the config using the following command:

```
	php artisan vendor:publish
```

In the plivo.php configuration file we need to enter the Plivo API key and ID

> **Don't forget to set a auth id and auth secret keys in the config file!**, you can get them at Plivo dashboard.

> ## SENDING SMS
>
> [](#sending-sms)

```
